[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: portability of positional parameters after $9?
From: |
Alexandre Duret-Lutz |
Subject: |
Re: portability of positional parameters after $9? |
Date: |
Thu, 20 Oct 2005 08:45:48 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
>>> "SK" == Stepan Kasal <address@hidden> writes:
SK> Hello,
SK> On Wed, Oct 19, 2005 at 02:36:22PM -0700, Paul Eggert wrote:
>> It's not a myth. The 7th edition shell behaved that way; it reported
>> an error if given "${10}". Solaris 10 /bin/sh still acts that way:
SK> attached please find an attempt to document this.
I was typing address@hidden address@hidden@}' when your mail came in...
SK> +
SK> address@hidden address@hidden@}, etc.
I suggest to drop the `etc.' since this item is rendered in @code.
Also something like
@cindex positional parameters
would help me, since that's what I was searching before posting my mail.
SK> +
SK> +The 10th, 11th, @dots{} positional parameters can be accessed only after
SK> +a @code{shift}. The 7th edition shell reported an error if given
@address@hidden@}};
SK> +Solaris 10 /bin/sh still acts that way:
The entries around use @command{/bin/sh}.
--
Alexandre Duret-Lutz