Show HN: Simple multiline find and replace with sed
replace.sh
replace.sh
I've made a website for generating sed scripts with Rust and Typescript+React. Built this in a week to learn Rust with GraphQL and Diesel, and a bit of front end with React. Feedback is much appreciated.
sed s/findo/replaco/gAlso, you're reading in the whole file before replacing, even though most uses of sed will probably be per line. Including an option for line-by-line (maybe as default) would be much better for large files.