Wrong teaching on shell conditions
On page 32 on shell conditions the authors suggest that the trailing ] is also added just for readability. This is wrong and an opening '[' must be followed by a closing one ']'. Following the discussion, a weird example is added:
ls -l /usr/bin [
which makes no sense at all and just produces an error message that the file '[' was not found!
|