groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sed failure in contrib/sboxes on MacOS


From: James K. Lowden
Subject: Re: Sed failure in contrib/sboxes on MacOS
Date: Sat, 30 Oct 2021 12:08:12 -0400

On Wed, 27 Oct 2021 20:15:28 +1100
John Gardner <gardnerjohng@gmail.com> wrote:

> There's already a deprecation warning in-place warning users against
> relying on the existence of /bin/bash or the assumption that /bin/sh
> == /bin/bash.

Every so often I get a +10 bump on SO for my answer about writing a
portable shell script.  The answer starts by changing the first line to 

        #! /bin/sh

because Posix says that shell has to be there.  If Posix had a slogan,
surely it would be "Why mess around with anything else?".  ;-)

--jkl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]