From: | znx <znxster@×××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] OT - Question about new bash | ||
Date: | Sun, 29 Jan 2006 18:13:21 | ||
Message-Id: | 169ffc030601291005w318fac0fr@mail.gmail.com | ||
In Reply to: | [gentoo-user] OT - Question about new bash by Michael Sullivan |
1 | Hi, |
2 | |
3 | for x in *.JPG; do |
4 | > if [ ! -e current/$x ]; then |
5 | |
6 | |
7 | I can't see anything wrong with this in particular, one thing that springs |
8 | to mind is to quote the string that you are testing: |
9 | |
10 | for x in *.JPG; do |
11 | if [ ! -e "current/$x" ]; then |
12 | |
13 | Hope that helps |
Subject | Author |
---|---|
Re: [gentoo-user] OT - Question about new bash [SOLVED] | Michael Sullivan <michael@××××××××××××.com> |