Difference between revisions of "Tr"

From Teknologisk videncenter
Jump to: navigation, search
m
m (Cut moved to Tr)
(No difference)

Revision as of 15:35, 1 April 2010

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.