Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash remove trailing whitespace from every line

# Basic syntax:
awk '{$1=$1};1' your_file
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #bash #remove #trailing #whitespace #line
ADD COMMENT
Topic
Name
4+7 =