Removing BOM from UTF-8
Gerard Seibert
gerard at seibercom.net
Sun Feb 19 04:06:30 PST 2006
J. Erik Heinz wrote:
> use a for-loop in your shell:
>
> # bash
> # cd to/your/directory
> # for i in *; do
> # nobom.sh $i > $i.new
> # done
>
> this will take all your files in your directory and proceed each one it
> with nobom.sh, which then will write it to new file.
>
> Be sure that your perlscript points to your perl installation on your
> system. You can use 'which perl' to get the location of your perl
> installation.
>
> Cheers Erik
Thanks! I'll give it a try when I return to work.
--
Gerard
More information about the freebsd-questions
mailing list