Re:Useful sed scripts and patterns
by neeeeees on Thursday November 11, 2021 @11:21PM
(#29196277)
“s '1,$ s/foo/bar/' file.txt”. should be replacement from 1 to end, not 5 to end (#4 on your list)
[ Parent
| on HN ]
I just submitted a PR to fix that. :)