/ Published in: Other
This one-liner will remove all leading whitespace (including tabs) from a text file and write the output to STDOUT.
Expand |
Embed | Plain Text
$ cat file.txt | sed -e 's/^[ \t]*//'
You need to login to post a comment.
