[Tfug] Quick command line question...

Jim March 1.jim.march at gmail.com
Wed Mar 10 08:41:34 MST 2010


Folks,

Say I've got a bunch of text files in a directory...all ending with
.TXT...a dozen or so.

I know that in some, a particular word isn't spelled right - say,
"regurjitation".  I want to do a command to search for that and
replace it with "regurgitation" across all files where the bad one is
found, and save all files to their original names.

Any help appreciated :).

Jim




More information about the tfug mailing list