Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2005 05:42:48 -0500
From:      "Fafa Hafiz Krantz" <fteg@london.com>
To:        questions@freebsd.org
Cc:        parv@pair.com
Subject:   Re: Maintaining my music collection (off topic)
Message-ID:  <20051026104248.5CFEA83C03@ws1-1.us4.outblaze.com>

next in thread | raw e-mail | index | archive | help

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 <parv@pair.com>
To: "Fafa Hafiz Krantz" <fteg@london.com>
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/




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