Received: from mail.w14.tutanota.de (mail.w14.tutanota.de [185.205.69.214]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 77694225F31 for <~alpine/users@lists.alpinelinux.org>; Wed, 20 Nov 2024 05:40:51 +0000 (UTC) Received: from tutadb.w10.tutanota.de (w10.api.tuta.com [IPv6:fd:ac::d:10]) by mail.w14.tutanota.de (Postfix) with ESMTP id 468EA3BD7FE4; Wed, 20 Nov 2024 06:40:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1732081220; s=s1; d=keemail.me; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=vY66fvXg0WuCelr2ydkujZ89T/KS4acnQlvTTSknUcY=; b=W4BqFrJzGc/KaAFMLwquAxesB6UULDwZCIKDc5vwz2ML8Pc+MjWbjnE/bHLY9Eks WBSEzbAh5VoLNP4eMEjtL/mohsEVmAQSGtCaaHdjy+Hdo8PTmXhwrcXsZYbYpZZwtdH vg5cvIZMVP6s8AI+5pCb8b/M36VCFKY4O1OmY71wa5yyvKWtutL9y4AbJbSOxriZ+Rd qx/nlDfF/ZKzbeONQsYaPNqyocrsoFt3uMcCKokYZK+mSxKn+jkwmQnfqbmTXiVxYUC DYT6xUXf1y1+K6F6TWd5LQs4xuD+D0FtIBZE6ELX07vAez50IdTe2P4860rls6Bw8BR SXGpJ9sj1g== Date: Wed, 20 Nov 2024 06:40:20 +0100 (CET) From: spoon@keemail.me To: Paul Zillmann Cc: "~alpine/users@lists.alpinelinux.org" <~alpine/users@lists.alpinelinux.org> Message-ID: In-Reply-To: References: Subject: Re: Resources for learning shell scripting MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_62275_116313521.1732081220283" ------=_Part_62275_116313521.1732081220283 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable You should either try guide.bash.academy or=C2=A0https://tldp.org/LDP/abs/h= tml/. Both are very good and practical. Cheers. 19 Nov 2024, 20:28 by p.zillmann@h6g.de: > Hello there, > > recently I have to write a bit of shell scripts and I find myself with th= e problem of finding solutions online that are compatible with GNU bash, bu= t not with busyboxes POSIX shell. > So I would spend a bit of time to adapt those scripts to be able to run w= ith /bin/ash. > > Could you recommend any good resources to learn how to script for POSIX i= n the first place? > Are there any good websites, books or even man pages available? > > I'm not a very good bash scripter myself, usually I work with compiled la= nguages like C and Golang. > > Thanks, > - Paul > ------=_Part_62275_116313521.1732081220283 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
You should either try guide.bash.academy or https://tldp.org/LDP/abs/html/. Both are very good and practical= .

Cheers.


19 Nov= 2024, 20:28 by p.zillmann@h6g.de:
Hello there,

recently I have to write a bit of shell scripts and I= find myself with the problem of finding solutions online that are compatib= le with GNU bash, but not with busyboxes POSIX shell.
So I would spend a bit of time to adapt those scripts to be able to r= un with /bin/ash.

Co= uld you recommend any good resources to learn how to script for POSIX in th= e first place?
Are there any good websites, book= s or even man pages available?

I'm not a very good bash scripter myself, usually I work with co= mpiled languages like C and Golang.

Thanks,
- Paul

------=_Part_62275_116313521.1732081220283--