All
I'm working in ksh on AIX 5.1. Can anyone explain the difference between the [ condition ] and [[ condition ]]. for example, an actual screen scrape
Thanks
On the internet no one knows you're a dog
Columb Healy
I'm working in ksh on AIX 5.1. Can anyone explain the difference between the [ condition ] and [[ condition ]]. for example, an actual screen scrape
Code:
b01301$ ls -d one*
one one.two.three one.txt one_list onedir
b01301$ [ -f one* ] && echo yes || echo no
yes
b01301$ [[ -f one* ]] && echo yes || echo no
no
Thanks
On the internet no one knows you're a dog
Columb Healy