Linux example - find and grep, and perl replacement to
fix a spelling error.
-------------------------------------------------------
find ./ -type f -name '*.htm*' -exec grep Galations {} \;
find ./ -type f -name '*.txt' -exec grep Galations {} \;
find ./ -type f -name '*.htm*' -exec perl -pi -e 's/Galations/Galatians/g' {} \;
find ./ -type f -name '*.txt' -exec perl -pi -e 's/Galations/Galatians/g' {} \;
|
WAGONEERS.COM ![]() BUY this FSJ decal! ...use PayPal to buy the decal! |
![]()
AMSOIL synthetic lubricants and filters |