David Oswald <[EMAIL PROTECTED]> writes:

> 
>       1) I need to remove the ^m found at the end of each file that is
> created by those rotten NT users. If in vi I issue a "%s/^M//g I do
> remove the ^m but the file system is becoming too large to do this by
> hand.
>       Can someone please assist me with a script that will enter the         
> /var/www tree and search all *html files and then run a (sed         
> script ?) that would do this for me without any user         
> interaction. (I would run this process probably once a night
> in                                    a cron job.)
> 
>       I thought maybe this process would look something like:
>         " find /var/www -name "*html" -ls | awk '{print $11}' " so
> this         would generate a list of my files that need to be opperated
> on,         but I dont know  enough to complete the equation. Any
> assitance         greatly appreciated here... Thanx in advance...

Use the package *recode*, so you can do "recode ibmpc:latin1 html-file.html"

        ingo fischenich


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to