[Top][All Lists]

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

Re: More fun with IFS

From: Dan Douglas
Subject: Re: More fun with IFS
Date: Fri, 01 Mar 2013 09:38:01 -0600
User-agent: KMail/4.8.3 (Linux/3.4.6-pf+; KDE/4.8.3; x86_64; ; )

On Friday, March 01, 2013 01:06:27 PM Thorsten Glaser wrote:
> Hrm, but the docs, both, specifically say that (unquoted) $@ behaves
> like $* except in the face of no arguments, so I cannot do that.
> But thanks for the feedback. My reading differed, but you have a
> point, and the others can be kept as-is.

I think the root of the problem is trying to force unquoted $@ to be like $* 
instead of the other way around. That's how bash (if not for the bug) and 
ksh93 manage to do this while remaining consistent with the spec.
Dan Douglas

reply via email to

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