Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 6A166225D8E for <~alpine/users@lists.alpinelinux.org>; Tue, 19 Nov 2024 14:57:45 +0000 (UTC) Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-5cefc36c5d4so4617972a12.0 for <~alpine/users@lists.alpinelinux.org>; Tue, 19 Nov 2024 06:57:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=h6g-de.20230601.gappssmtp.com; s=20230601; t=1732028263; x=1732633063; darn=lists.alpinelinux.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=r1xIEN+EH9dlsBkw9X+PtQVpAAiGHj+XxdeAFfcCoj8=; b=kTJMrTmxEypFY0K1FpGD+lQELCl+UuMAbpFtT1kDaCPzauKUidLhhCQ8YuV0LTtrWq paSKZEqrWqymTxiirFQuTPAQAwd9CbeHGte1zGxXBYnjlr7RSq30uaWAnFnT9DMikXsK DrWgtaeumask1oDn2zoBgXC1yjlCZO34FTP9eW51OXaQKvwbr1Rov0fIcfTSixgcbyuF 5lgiinGavgOQzLxS+ZZFhkGlQ9ozPaUPvRRtqiq6mZ+8k2Nsi7X65tH7Fm3fma3FaleL pg2nHnPzCqwmdTpcEKHFIHS2GqZN1s+li+IICQRM0pSovVD0MdbQE804Fp8FDupn5gCa IcsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732028263; x=1732633063; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=r1xIEN+EH9dlsBkw9X+PtQVpAAiGHj+XxdeAFfcCoj8=; b=ZLHwZQpJh8LFTqKL7VxZGKjqoWKdf5ry22j64bBgXgp+18Rb8DKAoWi9BkDpMjyo21 zs9P91DRm82SNNjmnKuM9yb5Lz1xqgUDRcA+8Ip8U5mvzoKQb6zTZSOVaTvop2raNO+p DS1EKv6yKCbgkrbX5f6Dcw+2s4xm8UvPFA+tHQFAE42wgWbrrB9gwNDNNYdbY1+9CyaL BkKqCBmYmKdVJ+P8i99WU3zHZz1GYp1GMwm2jkaHDT2t6Oq3oTnXEDwpjLJTXvf7Dtpf nEUIgUmlGRf3aI3TR01nehleV9rRBl5+VzlHa6m4upMp72iFLrTDoewGKF4Aq10+7Sq1 TbYA== X-Gm-Message-State: AOJu0YxGQ3bUWsPcEa1n7RR/dLAYr6K2Hp17gOfZLmDqAY797IDbNaO1 MTP3BA266qN7qQD2WwsOSonkaYxS/pk/hr0pLREly44LIAy2fjupzrhGlTH9ZcJ0hhOxysu0NNg H X-Google-Smtp-Source: AGHT+IEerOhyljRs6R/iLHdJX9xM395zPAo/5sC5niOGQ0EQWRvkgF0VKDNIzMyQ6Y8FSYWx8myY3A== X-Received: by 2002:a17:907:3e92:b0:a9a:3c90:60c5 with SMTP id a640c23a62f3a-aa48347a733mr1569498166b.28.1732028262929; Tue, 19 Nov 2024 06:57:42 -0800 (PST) Received: from ?IPV6:2a00:11:f840:5400:9ab7:85ff:fe00:24ab? ([2a00:11:f840:5400:9ab7:85ff:fe00:24ab]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa20df268ebsm654868166b.9.2024.11.19.06.57.42 for <~alpine/users@lists.alpinelinux.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Nov 2024 06:57:42 -0800 (PST) Message-ID: Date: Tue, 19 Nov 2024 15:57:42 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: "~alpine/users@lists.alpinelinux.org" <~alpine/users@lists.alpinelinux.org> From: Paul Zillmann Subject: Resources for learning shell scripting Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 compatible 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 run with /bin/ash. Could you recommend any good resources to learn how to script for POSIX in 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 languages like C and Golang. Thanks, - Paul