Re: [dev] Shell style guide

From: Greg Reagle <greg.reagle_AT_umbc.edu>
Date: Thu, 08 Sep 2016 10:11:09 -0400

On Thu, Sep 8, 2016, at 10:05 AM, Kamil CholewiƄski wrote:
> Wow, shell quoting is just fucked up crazy. I was mostly using unquoted
> $_AT_ my whole life. And here I thought I knew enough not to screw up a
> simple script,

It is common knowledge to always double-quote $_AT_, i.e. "$@", in
Bourne/Posix shell.

> but there just always seems to be a new hidden gotcha.

Indeed. It sucks. Use an unbroken shell like rc and these troubles are
behind you.
Received on Thu Sep 08 2016 - 16:11:09 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 08 2016 - 16:12:18 CEST