[Tfug] Quick command line question...
Nathan England
nathan at paysonlinux.org
Wed Mar 10 20:02:06 MST 2010
for i in *; do
sed -i 's|regurjitation|regurgitation|g' "$i"
done
It's really that simple...
On Wed, Mar 10, 2010 at 5:55 PM, Charles R. Kiss
<charles at kissbrothers.com>wrote:
> Use grep, if there aren't that many files, replace the words manually??
>
>
>
> On Wed, 10 Mar 2010 14:00:05 -0500, <tfug-request at tfug.org> wrote:
>
> 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.
>>
>
>
> --
>
>
> This message and any attachments may contain information that is privileged
> or confidential, and is intended solely for the addressee. If you received
> this message in error, please notify the sender by reply e-mail and delete
> the message and any attachments. Thank you.
>
>
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tfug.org/pipermail/tfug_tfug.org/attachments/20100310/2c46da66/attachment-0002.html>
More information about the tfug
mailing list