[next] [prev] [prev-tail] [tail] [up]
Suppose we wanted to delete all lines that has some word, say window in them.
window
Do
#!/bin/bash cd $HOME/my_tree find . -name "*.txt"|while read fname; do echo "processing $fname" sed -i '/windows/d' $fname done
[next] [prev] [prev-tail] [front] [up]