Current-Users archive

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

Re: strange argv quoting behaviour



On Thu, Dec 27, 2012 at 07:59:35AM +0000, David Holland wrote:
 > On Mon, Dec 24, 2012 at 11:12:40AM +0000, Patrick Welche wrote:
 >  > % ./foo 'abc' *
 >  > 4: (\a\b\c) (foo)
 >  > 
 >  > That last case suggests some aggressive overquoting - but it only happens
 >  > if there is a '*' as an argument afterwards!
 >  > (Checked on a yesterday current box, csh)
 > 
 > csh is amply supplied with bugs and weirdness, so this behavior
 > doesn't exactly surprise me; but FWIW I can't replicate it.

However, it's apparently caused by -r1.32 of glob.c in libc, which
Christos just reverted, so it should stop happening.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index