Joining ~18000 lines, thnx vim

after some grep, sed and awk’ing I had sorted out a bunch of foldernames into a file, feelin’ smug about it.
I needed those on one line, using vim the only hinder was my not-so-super-skills in vim .
In vim command mode, typing ‘18000J’ would join current line with the next 18000 lines

thnx stackoverflow.com

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>