[CentOS] Bash Help
William L. Maltby
CentOS4Bill at triad.rr.comMon Aug 17 19:18:11 UTC 2009
- Previous message: [CentOS] Bash Help
- Next message: [CentOS] Bash Help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 2009-08-17 at 19:55 +0100, James Bensley wrote: > I can't think of the exact syntax at the minute but something like; > > if $# => 4 then > for i = 1 to ($# - 4) > echo "arg number $i is $expr($i)" > next > fi $ echo $* 1 2 3 4 $ \ > while [ "$1" != '' ] ; do > echo $1 > shift > done 1 2 3 4 $ > > <snip> -- Bill
- Previous message: [CentOS] Bash Help
- Next message: [CentOS] Bash Help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list