Chet Ramey wrote:
> Keep in mind that posh is overly strict in some areas (e.g., it throws
> an error on `exit 1').  It may not be useful in isolation.

As I did mention I have found that posh is somewhat less than useful
in Real Life.  But you say it throws an error on exit 1?

  $ cat >/tmp/trial <<'EOF'
  #!/bin/posh
  echo "Hello from posh"
  exit 1
  EOF
  $ chmod a+x /tmp/trial
  $ /tmp/trial
  Hello from posh
  $ echo $?
  1

I see no error when using 'exit 1'.  Other than the expected exit
code.  What am I missing?

Bob

Reply via email to