DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+9 =
Submit