bug-bash
[Top][All Lists]
Advanced

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

Re: eval


From: Chet Ramey
Subject: Re: eval
Date: Thu, 05 May 2011 09:23:52 -0400
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

On 5/4/11 4:40 PM, Rafael Fernandez wrote:
> I am used to the behavior of sh on NetBSD which does not require
> enclosing positional parameters. 

I'd call that a pretty serious incompatibility on the part of ash and its
descendants (BSD sh, dash, etc.).  There's no good reason that

set -- a b c d e f g h i j
echo $10

should echo `j'.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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