Answers for "remove space at end of each line file"

1

remove space at end of each line file

Use either one of both next commands with sed 's/to_replace/replace/':
sed 's/ *$//' file
sed 's/[[:blank:]]*$//' file
Posted by: Guest on October-22-2020

Code answers related to "remove space at end of each line file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language