Rodolfo Bandeira

Rodolfo Bandeira

software, electronics, security, devops, thoughts

Replace white spaces to underline in a text file on UNIX

sed "s, ,_,g" file.txt

To more informations about sed, please type the best command:

man sed

Or just google it.

Last modified:

LinkedIn
WhatsApp