Re: [dev] Shell style guide

From: Evan Gates <evan.gates_AT_gmail.com>
Date: Tue, 6 Sep 2016 13:07:10 -0700

On Tue, Sep 6, 2016 at 12:51 PM, Thomas Levine <__AT_thomaslevine.com> wrote:
> Adherence to standards and legibility can be problematic if you care
> about
> portability to sucky systems and shells. For example, `...` is more
> widely
> supported than $(...). But in the case of stali, I suggest that non-suck
> should
> take priority over portability.

I think shell scripts should adhere to the POSIX sh standard. Trying
to support older shells such as bourne is pointless. If the shell
doesn't support POSIX sh then we shouldn't care about it.
Received on Tue Sep 06 2016 - 22:07:10 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 06 2016 - 22:12:12 CEST