User Tools

Site Tools


sed:remove_whitespace_including_tabs_from_string

This is an old revision of the document!


SED - Remove whitespace (including tabs) from string

cat input.txt | sed 's/^[ \t]*//;s/[ \t]*$//' > output.txt
sed/remove_whitespace_including_tabs_from_string.1575980929.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki