Chet Ramey schrieb: >> Code: >> $ [ ! -a /bin/bash ] && echo "Doesn't exist"; [ -a /bin/bash ] && echo >> "Exists" >> >> Output: >> Doesn't exist >> Exists
> Please read the Bash FAQ, question E1. The behavior of test depends on > the number of arguments; the rules are in the manual page. > > Chet "The operators -a and -o are considered binary operators for the purpose of the 3 Arg case." Forgive my ignorance :) Jan