Re: find/replace text

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: steve Phariss
Date:  
To: plug-discuss
Subject: Re: find/replace text
the text strings are IN the files. rename was easy :)

Mike Garfias wrote:

>for i in `ls *.html` do; \
> mv $i `basename $i .html`.php \
>done
>
>steve Phariss spoke forth with the blessed manuscript:
>
>
>>I am trying to replace all instances of .html to .php in multiple files
>>(same directory) I have tried a few of the sed command scripts I found
>>on the web, but they do not seem to be working.
>>
>>Thanks for any help with this simple problem :)
>>
>>---------------------------------------------------
>>PLUG-discuss mailing list -
>>To subscribe, unsubscribe, or to change you mail settings:
>>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>>
>---------------------------------------------------
>PLUG-discuss mailing list -
>To subscribe, unsubscribe, or to change you mail settings:
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss