Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

remove space at end of line file

Use either one of both next commands with sed 's/to_replace/replace/':
sed 's/ *$//' file
sed 's/[[:blank:]]*$//' file
Comment

PREVIOUS NEXT
Code Example
Shell :: Error: ENOSPC: System limit for number of file watchers reached, watch 
Shell :: venv deactivate 
Shell :: bash suppress error code 
Shell :: bash rename files based on date modified 
Shell :: install node js redhat 8 
Shell :: install cypress 
Shell :: npm bootstrap 
Shell :: docker remove all images windows 
Shell :: linux command create folder if not exist 
Shell :: renaming a docker container 
Shell :: ufw difference between deny and reject 
Shell :: mac terminal hide username 
Shell :: change default kube editor nano 
Shell :: clone using token github 
Shell :: awk if else statement 
Shell :: windows how to access wsl from explorer 
Shell :: powershell credential object 
Shell :: how to remove a directory in git 
Shell :: how to add gif in github readme 
Shell :: rsync only new files 
Shell :: bash vertical bar 
Shell :: git difftool meld 
Shell :: check size of hidden current directory linux 
Shell :: drush config import single file 
Shell :: git update password 
Shell :: fatal error: ft2build.h: No such file or directo 
Shell :: imagemagick add background to transparent png 
Shell :: connect to a pod 
Shell :: brew install jenv 
Shell :: unix check ram 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =