Maintaining my music collection (off topic)

Fafa Hafiz Krantz fteg at london.com
Wed Oct 26 03:42:49 PDT 2005


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 at pair.com>
To: "Fafa Hafiz Krantz" <fteg at london.com>
Subject: Re: Maintaining my music collection (off topic)
Date: Wed, 26 Oct 2005 06:39:48 -0400

> 
> in message <20051026091053.8E30C83C03 at 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).
> 
> 
>    - Parv
> 
> --



--
Fafa Hafiz Krantz
  Research Designer @ http://www.bleed.com


-- 
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/



More information about the freebsd-questions mailing list