Answers for "linux sed output same file"

1

linux sed output same file

Just use something like following with p option at sed command`s end:
cat file.txt| sed -En "s/string_to_replace/replacement_string/p"
Posted by: Guest on November-03-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language