Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Faster and more efficient way to read a file vertically

by choroba (Bishop)
on Nov 03, 2017 at 15:23 UTC ( #1202696=note: print w/replies, xml ) Need Help??


in reply to Faster and more efficient way to read a file vertically

My cut (GNU 8.25) also supports the -c and -b options to only print the given character or byte range, respectively.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Re^3: Faster and more efficient way to read a file vertically
by Anonymous Monk on Nov 03, 2017 at 15:27 UTC
    Great, I also saw it now!
    So basically I can say  cut -c 10 and get the 10th character. Thank you very much!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1202696]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2017-11-19 07:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (278 votes). Check out past polls.

    Notices?