[Top][All Lists]

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

Re: [A-Z], [:upper:]

From: Greg Wooledge
Subject: Re: [A-Z], [:upper:]
Date: Fri, 29 Mar 2019 08:21:59 -0400
User-agent: NeoMutt/20170113 (1.7.2)

>   | And you forgot to quote.
> Really!   That again!   Here, unless one of A or B (or perhaps C,
> though as that's supposed to be removed, it shouldn't matter) is in
> IFS - in which case I think we'd be told - quoting makes no difference
> at all.

The example is clearly contrived just for the bug report and is a
simplification of some existing code.  That existing code probably
uses a variable whose content comes from a file, or user input.  That
content may contain spaces.

You appear to have strong feelings about this, but so do I, because I
deal with failures to quote for hours upon hours, 5 days a week, in IRC.
Really, it *is* necessary to hammer this point over and over again.
If you're sick of hearing it, that's because you actually understand
the issue.  But a great number of the people posting to this list do not.

Quoting is *the* number one issue in shell scripting.  It cannot be
reiterated enough.  God knows we've tried, and it's still not enough.

reply via email to

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