My goal for today: I want to remember the official
solution to replace multiple newlines:
sed ':a;N;$!ba;s/\n//g' file
to avoid spending a lot of time on it when I need it again.
comments powered by Disqus.