Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

The test command



I propose this addition to the age-old test command:

  --verbose
       If the test does not succeed, print the reason why to stderr

The usefulness of this is shown in this example:

  if ! test --verbose -e "$file" ; then
    exit $?
  fi

Dave



Messages sorted by: Reverse Date, Date, Thread, Author