31 July 2011

remove tabs in a file with tr -d '\011' < old.txt > new.txt #linux #unix

tr command delete tabs in file: "If you just want to delete the tabs, try:

tr -d '\011' newfile

but if you would rather convert the tabs to spaces, then try:

expand filename >newfile"

No comments:

Post a Comment

Pages