#803339 dash: Use "invalid" instead of "illegal"

Package:
dash
Source:
dash
Description:
POSIX-compliant shell
Submitter:
Bjarni Ingi Gislason
Date:
2015-10-28 22:15:14 UTC
Severity:
minor
#803339#5
Date:
2015-10-28 22:13:51 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?

  A bug in a script.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

  Run the script.

   * What was the outcome of this action?

  A diagnostic message with the word "Illegal" in it.

   * What outcome did you expect instead?

  The word "Invalid".


  The following script shows the wrong word in a diagnostic message:

a=10
b=3

if [ "$(( $a - $b))" -le "$c" ] ; then
  echo something
fi
exit

  Running it with "dash" shows:

<name of script>: 4: [: Illegal number: