Re: [PATCH v2] expand: Do not quote backslashes in unquoted parameter expansion

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

 



On Thu, Mar 29, 2018 at 07:29:12AM +0200, Harald van Dijk wrote:
>
> You're right that what other shells implement doesn't allow any possibility
> of unescaped backslashes in the shell. But if what they do is what's

Well the only shell that does allow it is bash and its behaviour
is inconsistent at best.

So at this point I am not going to change long-standing dash
behaviour on the unescaped backslash at the end of a pattern.

If and when other shells move on this issue then we can reexamine
this.

Cheers,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux