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 <[EMAIL PROTECTED]> To: "Fafa Hafiz Krantz" <[EMAIL PROTECTED]> Subject: Re: Maintaining my music collection (off topic) Date: Wed, 26 Oct 2005 06:39:48 -0400 > > in message <[EMAIL PROTECTED]>, > 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/ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"