Posts Tagged ‘ gsub ’

Opening a file in *nix full of invisible line breaks(\r)

Feb 15th, 2011 | By

So i was given a massive 90MB CSV to go through today and much to my chagrin the output of wc -l was 1.  Ugh.  But copying and pasting sections of it clearly showed linebreaks however as far as linux was concerned it was all one line.  After a bit of examining and some help
[continue reading…]