Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Feb 2017 19:21:48 -0500
From:      "Garance A Drosehn" <>
Cc:        Polytropon <>,
Subject:   Re: Variable assignment in sh
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <> <> <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 1 Feb 2017, at 14:59, James B. Byrne via freebsd-questions wrote:

> On Tue, January 31, 2017 14:01, Polytropon wrote:
>> I know, those are very special cases, and if your goal is not
>> portability and "guaranteed availability", then it won't hit you.
>> I just thought it's worth being mentioned.
> Thank you.  I have found your explanation of what goes on under the
> covers very interesting.  In this case I am dealing with a zfs system
> so if /usr is not there then neither is /bin.

On something of minor tangent, if you're writing scripts in either 'sh'
or 'bash', you may find the following web site helpful:

shellcheck is also available as a port, if you don't want to be pasting
your shell code into somebody else's web site.  The last time I checked,
the port brings in several other ports, so I tend to use the web site.

Garance Alistair Drosehn                =
Senior Systems Programmer               or
Rensselaer Polytechnic Institute;             Troy, NY;  USA

Want to link to this message? Use this URL: <>