Re: Parsing $NVATTR_x
1999-09-17 09:41:13
I *think* you could do something similar to this ugly hack:
echo $NVATTR_1 | awk '{print $1,$2,$3}'
I've done this with other multi-word environment variables, but not
explictly with NVATTR.
--D
> -----Original Message-----
> From: Leslie Clark [SMTP:lclark AT US.IBM DOT COM]
> Sent: Friday, September 17, 1999 12:54 AM
> To: NV-L AT UCSBVM.ucsb DOT edu
> Subject: Parsing $NVATTR_x
>
> I could have sworn we used to be able to pick off a word from a
> multi-word variable in a ruleset with some sort of subscripting, but I
> can't
> find
> anything about it. Maybe I'm thinking of the formatting for the t/ec
> classes.
> Anyway, does anybody know what I am talking about and whether/how
> to do it?
>
> Cordially,
>
> Leslie A. Clark
> IBM Global Services - Systems Mgmt & Networking
|
|
|