bug-bash
[Top][All Lists]
Advanced

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

Re: Unexpected word splitting on $* when IFS is unset


From: DJ Mills
Subject: Re: Unexpected word splitting on $* when IFS is unset
Date: Thu, 22 Jun 2017 09:04:59 -0400

On Thu, Jun 22, 2017 at 7:51 AM, Greg Wooledge <address@hidden> wrote:

> On Wed, Jun 21, 2017 at 10:30:22PM -0400, Chet Ramey wrote:
>
> OK, going forward, I am officially considering any use of unquoted $*
> or $@ in a script to be a BUG, an invocation of undefined behavior,
> not acceptable, no excuses.
>
>
I think this is pretty true of any unquoted expansion. You should be able
to get the
behavior you want without relying on wordsplitting


reply via email to

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