sed:change:change_lines_which_contain_a_specific_string
SED - Change - Change lines which contain a specific string
Substitute “foo” with “bar” ONLY for lines which contain “baz”.
sed '/baz/s/foo/bar/g'
sed/change/change_lines_which_contain_a_specific_string.txt · Last modified: 2020/08/17 23:04 by 192.168.1.1