Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!umich!ox.com!math.fu-berlin.de!fauern!unido!quando!omerzu From: omerzu@quando.quantum.de (Thomas Omerzu) Newsgroups: comp.unix.shell Subject: Re: Positional parameters beyond $9 Message-ID: <1998@quando.quantum.de> Date: 16 Apr 91 12:02:39 GMT References: <991@dri500.dri.nl> Reply-To: omerzu@quantum.de (Thomas Omerzu) Organization: Quantum Software GmbH, Dortmund, Germany Lines: 32 In article <991@dri500.dri.nl> slootman@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@quantum.de Quantum GmbH Bitnet: omerzu%quando@UNIDO.bitnet Dortmund,Germany UUCP: ...!unido!quando!omerzu