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

Re: perl one liner for csv file one field

by eyepopslikeamosquito (Bishop)
on Jan 17, 2015 at 05:49 UTC ( #1113576=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    cat /come/and/play/with/$i | perl -ne 'print if length((split /,/)[10]
    +) > 6'
    
  2. or download this
    cat /come/and/play/with/$i | perl -ne 'print if length((split /,/)[10]
    +) > 6'
    
  3. or download this
    perl -ne 'print if length((split /,/)[10]) > 6' /come/and/play/with/$i
    
  4. or download this
        cat file | some_command and its args ...
    
  5. or download this
        <file some_command and its args ...
    
  6. or download this
        some_command and its args ... file
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2021-07-27 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?