tobold.org

correct • elegant • free

△ comp.unix.shell △

◅ How to "set" current arguments preserving whitespace?

$@ and $* ?? ▻

How pass more than 10 parameters on cmd line?

In article <377A6422.DA2E1061@rocketmail.com>,
Zosen Wang  <wangz@rocketmail.com> wrote:
>The $1 ... $9 can be used for accepting the parameters on cmd line. What
>if I need more than 9 parameters? Is there easy way to do accept more
>than 9 parameters?

rc requires no special tricks to access any number of parameters.

Tim.
--
Tim Goodwin   | "You don't need to do drugs in order to
University of | think that the government's policies are
Leicester, UK | stupid and dangerous." -- David Bancroft

Original headers:

From: tjg@ltpcg.star.le.ac.uk (Tim J Goodwin)
Newsgroups: comp.unix.shell
Subject: Re: How pass more than 10 parameters on cmd line?
Date: 1 Jul 1999 11:02:11 +0100
Organization: University of Leicester, UK
Message-ID: <7lfeb3$4og$1@ltpcg.star.le.ac.uk>
References: <377A6422.DA2E1061@rocketmail.com>

△ comp.unix.shell △

◅ How to "set" current arguments preserving whitespace?

$@ and $* ?? ▻