Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash cat file and rewrite it same line

sed -e ... "datafile" >"datafile.tmp" && mv -f "datafile.tmp" "datafile"
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #bash #cat #file #rewrite #line
ADD COMMENT
Topic
Name
1+2 =