From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from user-0c99bpv.cable.mindspring.com ([24.148.175.63] helo=taylor.homelinux.net) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1DRFpL-0004YY-00 for ; Thu, 28 Apr 2005 16:41:39 -0400 Received: from lorenzo by taylor.homelinux.net with local (Exim 4.50) id 1DRFr9-0005lY-F7 for speakup@braille.uwo.ca; Thu, 28 Apr 2005 16:43:36 -0400 Date: Thu, 28 Apr 2005 16:43:31 -0400 From: Lorenzo Taylor To: "Speakup is a screen review system for Linux." Message-ID: <20050428204331.GB16180@taylor.homelinux.net> References: <20050428140324.GA20658@rednote.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <20050428140324.GA20658@rednote.net> OS: Debian GNU/Linux Unstable (Sid) Linux-Kernel: 2.6.11-1-k7 Linux-User: 346322 (http://counter.li.org) User-Agent: Mutt/1.5.9i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: lorenzo@taylor.homelinux.net X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on taylor.homelinux.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL autolearn=ham version=3.0.2 X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) X-SA-Exim-Scanned: Yes (on taylor.homelinux.net) Subject: Re: Bash Problem X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 20:41:40 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Janina Sajka's comments on Bash Problem were as follows: # for in $( ls); do # if [ "$i" != "incoming/" ]; then # echo $i # fi # done If I paste the above lines into a file exactly as written, I get syntax errors on line 1. If I change for in $( ls); do to for i in $( ls); do it works fine in my bash 3.0 both at the prompt and as a script. Lorenzo - -- "We decided that we should evaluate the Microsoft offerings first. Once we realised what a powerful set of tools they were, it became self-evident this was the right way to go down." Microsoft: the right way to go down -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCcUrzG9IpekrhBfIRAs1eAJoCUFq1PQM8PzX/IKqKE+dH8U3RnACdFp23 6SO2hiToiCRubqRztgWo/Zk= =QqY/ -----END PGP SIGNATURE-----