Command Line parsing

From: Ben Tshin (ben@foundmoney.com)
Date: Mon Jun 24 2002 - 14:55:02 EDT


Hi
I'm trying to parse through the command-line parameters of one of my scripts.
Basically I want to perform an operation on $1 and then the same operation on
$2 and $3 and $4, until there are no more parameters.

I don't know how I'd increment the <position number> of $<position number> but
that's what I'm trying to do... I have no clue how to do it cleanly and simply
using sh... is there a way in csh?

Ben
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:30 EDT