From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta02bw.bigpond.com ([139.134.6.34]) by speech.braille.uwo.ca with esmtp (Exim 3.32 #1 (Debian)) id 16Hb3V-00070s-00 for ; Fri, 21 Dec 2001 20:34:30 -0500 Received: from data.home ([144.135.24.84]) by mta02bw.bigpond.com (Netscape Messaging Server 4.15) with SMTP id GOQ20X00.2QV for ; Sat, 22 Dec 2001 11:41:21 +1000 Received: from CPE-144-136-137-64.qld.bigpond.net.au ([144.136.137.64]) by bwmam06.mailsvc.email.bigpond.com(MailRouter V3.0h 47/867002); 22 Dec 2001 11:34:28 Received: from geoff by data.home with local-esmtp (Exim 3.12 #1 (Debian)) id 16Hb3M-0001w6-00; Sat, 22 Dec 2001 11:34:20 +1000 Date: Sat, 22 Dec 2001 11:34:18 +1000 From: Geoff Shang To: speakup@braille.uwo.ca Subject: Re: ot, a programming question In-Reply-To: <20011221161842.A570@uic.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.7 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: Hi: The shell expands the wildcard, the wildcard itself never gets passed to the application. This can be demonstrated by the following script: #!/bin/sh echo $1 $2 $3 $4 $5 Now, you can see here that it's important to read the correct number of parameters. Running this script will only output the first 5 matching files, so you need to be able to read in all the names. I don't know how you'd do this in a shell script, but it'd be easy in say C. Geoff.