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

Re: perl -ne (one-liners)

by RhetTbull (Curate)
on May 30, 2001 at 15:46 UTC ( [id://84226]=note: print w/replies, xml ) Need Help??


in reply to perl -ne (one-liners)

OK, so it's not perl... but if what you want is Un*x functionality on Windows, then install Cygwin and use the standard unix toolbox. BTW, Cygwin comes with perl ;-)
Does anyone know where I can find things like "counting the lines in a file",
wc -l
"print lines 5 thru 70 to STDOUT"
sed -n '5,70p'
or "print the second column"
cut -f2

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-19 22:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found