On Tue, Jul 03, 2001 at 12:52:33PM +0800, Malcolm Tredinnick wrote:
> A fairly common idiom for this is:
> 
> fileList=`echo *.TXT`
> if [ "$fileList" != '*' ]; then
>     ...(insert other stuff here)
> fi

Doh! I didn't actually run this, obviously. The 'if' clause should be

        if [ "$fileList" != '*.TXT' ]; then (etc...)

Malcolm

-- 
No one is listening until you make a mistake.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to