Positional parameters beyond $9
Thomas Omerzu
omerzu at quando.quantum.de
Tue Apr 16 22:02:39 AEST 1991
In article <991 at dri500.dri.nl> slootman at dri.nl (Paul Slootman) writes:
[...]
>not seen before. If a script has more than 9 positional parameters,
>there seems to be no way to *directly* access the tenth onwards. Try
[...]
>other way. Nothing in TFM states anything about problems with more
>than 9 parameters (unless I've overlooked it...)
Quote from sh(1):
Parameter Substitution
The character $ is used to introduce substitutable
parameters. There are two types of parameters, positional
and keyword. If parameter is a digit, it is a positional
. ^^^^^
parameter. Positional parameters may be assigned values by
set. Keyword parameters (also known as variables) may be
assigned values by writing:
digit != number :-)
--
*--------------------------------------------------------------------------*
Thomas Omerzu. Internet: omerzu at quantum.de
Quantum GmbH Bitnet: omerzu%quando at UNIDO.bitnet
Dortmund,Germany UUCP: ...!unido!quando!omerzu
More information about the Comp.unix.shell
mailing list