Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Regular expression assistance

by jwkrahn (Monsignor)
on Dec 07, 2012 at 16:06 UTC ( #1007771=note: print w/ replies, xml ) Need Help??


in reply to Regular expression assistance

VLAN=`echo $cdp | awk '/0x0a/ { print $8 }'` VLAN=`echo $cdp | perl -lane'/0x0a/ && print $F[7]'`


Comment on Re: Regular expression assistance
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007771]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-12-28 00:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls