Which do we want to keep and which should be synonymed to the other?
return-status, with 118 questions, says:
Use this tag If your question revolves around determining or utilizing the return status (exit code) of a command. Common syntax involves the $? variable and the && and || symbols.
exit-code, with 31 questions, says:
The exit-code tag has no usage guidance, can you help us create it?
Additional data (as of 2019-02-17):
- "exit code" is:q = 345 questions
- "exit status" is:q = 277 questions
- "return code" is:q = 130 questions
- "return status" is:q = 35 questions
Wikipedia has "exit status" with redirections from "exit code" and "result code"; there is also "return code" aka "error code".
The bash manual and the zsh manual both use the term "exit status".
As mentioned, the POSIX standard uses the term "exit status".
Let's go ahead and rule out %ERRORLEVEL% :)
siginfo_t
with both "code" and "status", separately.bash
andksh
both refer to exit status.