nv-l
[Top] [All Lists]

Passing Variables to a script...

To: nv-l@lists.tivoli.com
Subject: Passing Variables to a script...
From: Gord Michaels <gord_michaels@HOTMAIL.COM>
Date: Wed, 16 Jun 1999 10:41:38 PDT
Reply-to: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Hello All.

I was wondering if someone could verify if I have this concept correct in my
head....

Say within a Rule I call a script...

/usr/scripts/myScript.sh $NVT $NVA $NVATTR_2

Then, inside the script itself, $NVT gets referred to as $1, $NVA gets
referred to as $2, and $NVATTR_2 gets referred to as $3 ????

Also, is $NVA the same as $A, $NVS the same as $S, etc.. ???

Any info appreciated.

Gord.


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web