HP3000-L Archives

January 2001, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ronald R Horner <[log in to unmask]>
Reply To:
Ronald R Horner <[log in to unmask]>
Date:
Thu, 11 Jan 2001 15:23:56 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (30 lines)
Wouldn't it be easier to write a program that uses HPVOLINFO???

Later


"COLE,GLENN (Non-HP-SantaClara,ex2)" wrote:

> Jon Diercks writes:
>
> > #!/bin/sh
> > callci "DSTAT ALL" |
> >    awk '$2 ~ /MASTER/ {x = $NF;
> >      sub("^\(?","/SYS/PUB/VOLUTIL \"showset ",x);
> >      sub("-[0-9]+\)?$"," classes\"",x);
> >      print x; }' >/tmp/vcl.$$
> > . /tmp/vcl.$$
> > rm /tmp/vcl.$$
>
> ...thus showing there's a reason why this stuff
> is called "code." ;)
>
> --Glenn

--
Ron Horner
HP3000 Systems Administrator
JCPenney Logistics
[log in to unmask]
(414) 259-2274

ATOM RSS1 RSS2