VLAN=`echo $cdp | awk '/0x0a/ { print $8 }'` VLAN=`echo $cdp | perl -lane'/0x0a/ && print $F[7]'`
In reply to Re: Regular expression assistance
by jwkrahn
in thread Regular expression assistance
by agentorange
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |