With a little side of applesauce...

Thursday, February 1, 2007

BASH) add newline to end of file

This is a cool tip for adding a newline to the end of all the files in a directory:

for i in $(ls); do echo >> $i ; done

No comments: