How can I prevent history expansion issues with sed and exclamation points?
Hi everyone! I'm having some trouble with a sed command that I want to use in a function. The command I'm working with is: `sed "/$PATTERN1/,/$PATTERN2/{/$PATTERN1/n;/$PATTERN2/!d;}`. This works…