Bob Proulx wrote:
And therefore they don't know how to write other directory traversal
tasks either.
find . -type f -exec sed -n '/PATTERN/s/THIS/THAT/gp' {} +
---
You mean I can't:
"sed -Rn '...'" ?
Drat.
OB.bash:
bash -c 'while (($#)); do [[ -f $1 ]] && sed -n "/PATTERN/s/THIS/THAT/gp" "$1";
shift;done' bash **
