Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nkf



1. PLEASE, backup your html directory tree:
   $ cp -a myhtml myhtml.save
2. run something like (assuming bash):
   $ for f in `find myhtml -name "*.html"`; do nfk $f > $f.tmp; mv $f.tmp $f; done

I _didn't_ test this, please don't forget to backup.

Viktor

>>Running every page through NKF and 
>>setting them all to the same encoding
>
>
>Hi Jonathan and everybody. 
>gobusata shiteimasu. 
>
>Is there a automagic way of doing the above? 
>I convert files one by one at the moment 
>
>nkf xxx > newfile 
>
>but could use a script or software that 
>would do the process en masse. 
>
>Thanks. 
>
>Tony Laszlo
>Jiyugaoka, Tokyo
>
>
>
>
>
>-----------------------------------------------------------------------
>Next Technical Meeting: September 9 (Sat) 13:30  Place: LinuxProbe Hall
>Next Nomikai Meeting: October (probably Oct 18 (Fri) 19:00)  Place: TBD
>-----------------------------------------------------------------------
>more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan
>

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links