in reply to Re: remove 16 Zeros
in thread remove 16 Zeros
Hi! Yes thank u for Response. PVID is allways 32
Charachters.
My Script is:
@output =`command` # Output looks like 7 lines and on line is the pvid:
pvid 00c1be9a467335ce0000000000000000
foreach $line (@output) {
if ($line =~ /pvid ..... here i want to grep only the 32 charachters
$pvid = $1 } i just want to get the $pvid.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: remove 16 Zeros
by flexvault (Monsignor) on Oct 13, 2015 at 20:32 UTC |