Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Help for awk/regex/newbie

by lindex (Friar)
on Aug 14, 2000 at 18:05 UTC ( [id://27745]=note: print w/replies, xml ) Need Help??


in reply to Help for awk/regex/newbie

Just my 2 cents (ignore if you like), but this is how I did it.
#!/usr/bin/perl -wn use strict; print((split(' '))[0],"\n") unless($_ =~ /^\s+$/);



lindex
/****************************/ jason@gost.net, wh@ckz.org http://jason.gost.net /*****************************/

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found