Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!uunet!mcsun!hp4nl!dri500!slootman From: slootman@dri.nl (Paul Slootman) Newsgroups: comp.unix.shell Subject: Re: Positional parameters beyond $9 (manpage is right) Message-ID: <1006@dri500.dri.nl> Date: 16 Apr 91 14:44:09 GMT References: <991@dri500.dri.nl> <1998@quando.quantum.de> Organization: DataCount Register Informatici, Wierden, The Netherlands Lines: 29 In article <1998@quando.quantum.de> omerzu@quantum.de (Thomas Omerzu) 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 [...] |digit != number :-) OOPS! You're right... OK, so, there *ISN'T* a way to directly access positional parameters beyond $9 (besides shifting). :-( I'll stay with my hack, then. Paul. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= : slootman@dri.nl : You are wise, witty and wonderful, but you : : ...!hp4nl!dri500!slootman : spend too much time reading this sort of trash. : =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=