uknowngithubuser
3/12/2019 - 5:41 PM

Adding today's date after "Date :" in a file using sed #Bash #Sed #Utillities #Text-Manipulation

Adding today's date after "Date :" in a file using sed #Bash #Sed #Utillities #Text-Manipulation

sed "1 s/$/${DATE}/"  ~/filetosearch.txt >> ~/filetocreatewithaddeddate.txt