theo wrote:
> Ron Johnson wrote:
>
>>> b=`basename $i .jpg`
>
> or b=${i%.jpg}
> (basename doesn't work with spaces in filenames).
>
> cheers,
> theo.I does if you use double quotes: $> for f in *.jpg; do bn=`basename "$f" .jpg`; echo $bn; done ->HS -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

