On Tue, Dec 10, 2002 at 11:20:31AM -0800, Osamu Aoki wrote:
> if [ -e *.JPG ]; then for i in *.JPG; do mv "$i" "${i%.JPG}.jpg"; done fiThat -e test looks dreadful ... surely it'll usually expand to lots of arguments which will confuse [, or perhaps to an empty string (nullglob) which will also confuse test? -- Colin Watson [[EMAIL PROTECTED]] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

