Theodoros Emmanouilidis

Notes & Thoughts

Replace Spaces & Tabs With Spaces In File

February14

The following command will substitute all tabs & spaces in a file with just spaces. Very usefull if you want to prepare a file as csv or inject the data contained in a database table.

1
sed -r 's/[[:blank:]]/ /g' original_file > new_file
posted under Tip Of The Day