Command example:
printf "%d\n" \'3 \"+3 "'-3"
Current behavior:
- Prints 51, 43, and 45 to stdout.
- Nothing is written to stderr.
- The exit status is 0 (
Exit_SUCCESS).
Expected behavior:
- Prints 51, 43, and 45 to stdout as before.
- Error messages should be printed to stderr saying that the operands
"+3 and '-3 contain redundant characters.
- The exit status is 1 (
Exit_FAILURE).
Reference:
Command example:
Current behavior:
Exit_SUCCESS).Expected behavior:
"+3and'-3contain redundant characters.Exit_FAILURE).Reference: