Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: perl one liner for csv file one field (useless use of cat and other awards References)

by eyepopslikeamosquito (Archbishop)
on Jan 17, 2015 at 05:49 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-20 04:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found