From owner-freebsd-questions@FreeBSD.ORG Sun Feb 19 12:06:30 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAF2816A420 for ; Sun, 19 Feb 2006 12:06:30 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from smtp1.suscom.net (smtp1.suscom.net [64.78.119.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57E7D43D53 for ; Sun, 19 Feb 2006 12:06:30 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from localhost (smtp1 [127.0.0.1]) by smtp1.suscom.net (Postfix) with ESMTP id DBB9B1D0004 for ; Sun, 19 Feb 2006 07:09:21 -0500 (EST) Received: from smtp1.suscom.net ([127.0.0.1]) by localhost (smtp1 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20847-06 for ; Sun, 19 Feb 2006 07:09:21 -0500 (EST) Received: from seibercom.net (ip148.217.susc.suscom.net [216.45.217.148]) by smtp1.suscom.net (Postfix) with SMTP id 872D61D0003 for ; Sun, 19 Feb 2006 07:09:21 -0500 (EST) Received: from [192.168.0.4] (boss [192.168.0.4]) by seibercom.net (8.13.4/8.13.4) with ESMTP id k1JC6PYN015248 for ; Sun, 19 Feb 2006 07:06:28 -0500 (EST) (envelope-from gerard@seibercom.net) Date: Sun, 19 Feb 2006 07:06:30 -0500 From: Gerard Seibert To: freebsd-questions@freebsd.org Sender: gerard@seibercom.net Organization: Seibercom In-Reply-To: <20060219090822.GA85842@srv017.dedi32.de> References: <20060218165306.C5D2.GERARD@seibercom.net> <20060219090822.GA85842@srv017.dedi32.de> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20060219070536.3474.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.24.01 [en] X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on seibercom.net X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at suscom.net Subject: Re: Removing BOM from UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2006 12:06:30 -0000 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