Re: [PATCH v3 2/2] travis-ci: build documentation
- From
- Eric Wong <e@80x24.org>
- Date
- May 4, 2016, 08:18 UTC
- Message-ID
- <20160504081852.GA24252@dcvr.yhbt.net>
- In-Reply-To
- <32CC7549-3A50-42F3-A6CC-9B15EFA01A46@gmail.com>
Lars Schneider <larsxschneider@gmail.com> wrote:
Show 5 quoted lines
> OK. I am not that experienced with shell scripting and therefore it > is hard for me to distinguish between the different shell features. > Do you know/can you recommend the most basic shell to test/work > with? A quick Google search told me that "dash" from Ubuntu seems > to be a good baseline as it aims to support pretty much only POSIX [1].
Yes, I recommend dash as your /bin/sh if you're using a Debian-based system ("Debian Almquist shell") such as Ubuntu.
Also, the Debian "devscripts" package has a tool called "checkbashisms" which I have also found very useful.
Maybe ksh(93) or posh could be good, too, but it's been a while...
I also rely on checking the manpages-posix and manpages-posix-dev in the "non-free" section of Debian ("multiverse" in Ubuntu?)