Current-Users archive

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

Re: Shell confusion over positional argumentsX



>Hello.  A /bin/sh script I wrote about 10 years ago under NetBSD-5
>broke under NetbSD-10.99.12.  The issue seems to be a change in the way
>command line arguments are assigned to the $number variables, i.e. $1,
>$2, $3, etc.

Looks to me like $11 is being interpreted as ${1}1.  I wonder what ${11}
comes out as?

--Ken


Home | Main Index | Thread Index | Old Index