Comment 64 for bug 61463

Revision history for this message
Martin Buchholz (martin-xemacs) wrote :

sparr writes:

-------------------
The solution to dashisms is to report them as bugs. Just like you did
for bashisms in the past (you did, right?).

dash *IS* Unix-2003-compliant (on this issue at least). If you read a
couple lines farther down, -n is not an option, it is an operand:
"A string to be written to standard output. If the first operand is
-n, or if any of the operands contain a backslash ( '\' ) character,
the results are implementation-defined."
-------------------

I missed that. On the other hand, further down it says

"On XSI-conformant systems, if the first operand is -n, it shall be treated as a string, not an option. "

Is Ubuntu an XSI-conformant system?
How would users know?