Difference between revisions of "Tr"
From Teknologisk videncenter
m |
|||
Line 4: | Line 4: | ||
God dag alle mand og kvinder. | God dag alle mand og kvinder. | ||
</pre> | </pre> | ||
− | [[Category:Linux]][[Category:UNIX]] | + | [[Category:Linux]][[Category:UNIX]][[Category:Linux Command]] |
Latest revision as of 06:57, 3 May 2012
To convert whitespace "tab" and "spaces" to a single space to make it
[root@mars ~]#echo -e "God dag alle\tmand\t \t og kvinder." | tr -s "\t" ' ' God dag alle mand og kvinder.