From owner-freebsd-questions@FreeBSD.ORG Wed Oct 26 10:42:49 2005 Return-Path: X-Original-To: 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 8A14F16A41F for ; Wed, 26 Oct 2005 10:42:49 +0000 (GMT) (envelope-from fteg@london.com) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45EDD43D4C for ; Wed, 26 Oct 2005 10:42:49 +0000 (GMT) (envelope-from fteg@london.com) Received: from unknown (unknown [192.168.9.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 7EEE4180023C for ; Wed, 26 Oct 2005 10:42:48 +0000 (GMT) X-OB-Received: from unknown (205.158.62.49) by wfilter.us4.outblaze.com; 26 Oct 2005 10:42:48 -0000 Received: by ws1-1.us4.outblaze.com (Postfix, from userid 1001) id 5CFEA83C03; Wed, 26 Oct 2005 10:42:48 +0000 (GMT) Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 From: "Fafa Hafiz Krantz" To: questions@freebsd.org Date: Wed, 26 Oct 2005 05:42:48 -0500 Received: from [213.187.181.70] by ws1-1.us4.outblaze.com with http for fteg@london.com; Wed, 26 Oct 2005 05:42:48 -0500 X-Originating-Ip: 213.187.181.70 X-Originating-Server: ws1-1.us4.outblaze.com Message-Id: <20051026104248.5CFEA83C03@ws1-1.us4.outblaze.com> Cc: parv@pair.com Subject: Re: Maintaining my music collection (off topic) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 10:42:49 -0000 I don't know man, the script is suppose to be valid sh. # bash fix.sh fix.sh: line 19: syntax error near unexpected token `}' fix.sh: line 19: `}' All the best, Fafa ----- Original Message ----- From: Parv To: "Fafa Hafiz Krantz" Subject: Re: Maintaining my music collection (off topic) Date: Wed, 26 Oct 2005 06:39:48 -0400 >=20 > in message <20051026091053.8E30C83C03@ws1-1.us4.outblaze.com>, > wrote Fafa Hafiz Krantz thusly... > > > > fix() { > > find ${1+:"$@"} -name '*.nfo' | while read file ; do > > cd ${file%/*} > ^ ^ > ^ ^ > Looks like this script is not going to work in FreeBSD /bin/sh. > Install one of shells/bash* (guessing) ports and run this script > under that shell (unless somebody does the conversion for you). >=20 >=20 > - Parv >=20 > -- -- Fafa Hafiz Krantz Research Designer @ http://www.bleed.com --=20 ___________________________________________________ Play 100s of games for FREE! http://games.mail.com/