Bash Problem
Lorenzo Taylor
lorenzo at taylor.homelinux.net
Thu Apr 28 16:43:31 EDT 2005
-----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-----
More information about the Speakup
mailing list