part II: Remove multiple whitespace-lines from a file

Written by  on May 7, 2015 

I was so annoyed that the simple idea with sed did not worked like I wanted, that I wrote a short full-fledged Qt-appp for it. Code follows. Just compile the main.cpp. Usage is also explained in the header of the file.
I know it’s like to break a butterfly on a wheel, but I need this functionality since I don’t want to do such a boring task like code-styling by myself ..

Update: first version had a small glitch! Found after applying it to some bigger files.

Category : C++Qt


One Response

  1. […] 20150508: take a look at this code-snippet. Just copy&paste&compile&run. […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.