On 7/28/10 7:06 AM, Jordon Bedwell wrote:
#!/bin/sh for MAGFILE in $(ls *\.[zZ][iI][pP]) do echo "File: $MAGFILE"; done I would prefer to rely on $() before `` in a bash script.
Sorry, I did that script on OS X, you should switch the SH shebang to Bash, it's just aliased on OS X but not on Debian, but in your case it probably won't matter that much since you aren't doing anything but a for loop so far that I can see.