Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Quoting in zsh -x output



Dan Nelson wrote:
> I think all bash does is check each argument for spaces, single-quotes,
> or backslashes, and then quotes and escapes that argument.  It doesn't
> care what quoting the user had on the commandline:
> 
> $ echo one\ two 'one two' "one two"
> + echo 'one two' 'one two' 'one two'

Ah, that's a different kettle of fish entirely.  I don't see any problem
including the patch.  I doubt if anyone is attached to the current
ambiguous behaviour of xtrace, are they?

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 392070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author