[Info-vax] grep a nice one
CY
christery at gmail.com
Fri Jan 29 01:32:43 EST 2010
So, I will (after some playing around with DCL and search) dl the grep
because I dont get this in a nice way in DCL:
BIOS_VERSION=`dmidecode -t 0|grep Version|head -1| awk '{print $NF}'`
When trying in vms I get starting with
BIOS Version 03.02 Manufacturer
hp
from
$anal/sys
set output test.lis/single
clue conf
sho summ
exit
$ grep :== search SYS$PIPE
$ pipe type test.lis | grep "Bios version"
just wanting BIOS_VERSION="03.02"
just thinking it might not be the bios version I really want, hmm..
hope its the blades version anyway...
Lots of stuff is reading something like
$ HW_NAME = F$GETSYI ("HW_NAME")
Well, Ill go look for a IA64 version of grep.
Thanks for the inputs.
More information about the Info-vax
mailing list