Mailinglist Archive: opensuse-factory (602 mails)

< Previous Next >
Re: [opensuse-factory] Can we assume that /bin/sh is bash?
On Fri, 8 Feb 2019 14:25:38 +0100 (CET), Jan Engelhardt
<jengelh@xxxxxxx> wrote:

No one needs to write sh-compatible code.

I do. But not on Linux

My .sh scripts also have to run on ancient AIX and HP-UX, and neither
comes with bash.

Whenever I need more in a shell-script than old bourne syntax, I turn
to perl. I /think/ I never wrote a sh/bash script that even uses $()

H.Merijn Brand Perl Monger
using perl5.00307 .. 5.29 porting perl5 on HP-UX, AIX, and openSUSE
< Previous Next >