Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Simple awk question

by fishmonger (Chaplain)
on Jun 05, 2014 at 19:02 UTC ( [id://1088899]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $error = '2014-06-04T15:24:21-05:00 syslog_dp [0x80e00099][ftp][error]
    + secure-backup(FBB): trans(5487)';
    
    ...
    # or you could do this:
    ($time) = $error =~ /^(\S+)/;
    print $time, "\n";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (8)
As of 2024-04-23 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found