/ 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
Copy this code and paste it in your HTML
$ cat file.txt | sed -e 's/^[ \t]*//'