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.In reply to Re^2: remove 16 Zeros
by eghdam
in thread remove 16 Zeros
by eghdam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |