1 |
On 2017-08-02 22:36, Daniel Campbell wrote: |
2 |
|
3 |
> I went in search of a few portable shell resources. Some suggest to |
4 |
> use dash or posh for the testing environment. I also found shellcheck, |
5 |
> which looks pretty promising (and it's in the tree! Thanks jlec). Do |
6 |
> you have any experience in portable shell scripting? My web search |
7 |
> didn't return a whole lot of good resources. Mostly just Stack |
8 |
> Overflow and a few tutorials which pointed to other resources. |
9 |
|
10 |
My server still runs debian, and now my Pi does as well, and all my |
11 |
scripts have to run there, so yes, I have some experience. |
12 |
|
13 |
The Turtle Book (Classic Shell Scripting by Robbins and Beebe) is pretty |
14 |
good at explaining the differences between the various implementations. |
15 |
OTOH it also contains some (IMO) dubious recommendations which have |
16 |
unfortunately become conventional wisdom. |
17 |
|
18 |
-- |
19 |
Please don't Cc: me privately on mailing lists and Usenet, |
20 |
if you also post the followup to the list or newsgroup. |
21 |
Do obvious transformation on domain to reply privately _only_ on Usenet. |