bug-bash
[Top][All Lists]
Advanced

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

Re: let's set the positional parameters with a simple 'read'


From: jidanni
Subject: Re: let's set the positional parameters with a simple 'read'
Date: Wed, 04 Jan 2012 14:38:22 +0800

Hmmm, as S. CHAZELAS said seems zsh also gives one a chance to reset an
arbitrary positional parameter, e.g., the 42nd, whereas in bash one must
set them all at once:
$ set `seq 55`
$ echo $42
42
$ echo $66
66
:-)
Anyway isn't it rather old fashioned not to be able to somehow reset
${42} without needing to tamper with the rest?



reply via email to

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