Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2006 07:06:30 -0500
From:      Gerard Seibert <gerard@seibercom.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Removing BOM from UTF-8
Message-ID:  <20060219070536.3474.GERARD@seibercom.net>
In-Reply-To: <20060219090822.GA85842@srv017.dedi32.de>
References:  <20060218165306.C5D2.GERARD@seibercom.net> <20060219090822.GA85842@srv017.dedi32.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060219070536.3474.GERARD>