> A flag to display the version is not historically > customary in Unix programs. > The adoption of -V (not -v which is verbose) is > recent and not normally used.
I stand corrected. > GNU --long-options have nothing to do > with a Unix program. Touché. > The Android user would just type “set“, or “echo $KSH_VERSION”. Not all Android users are so good with Unix that they know they should do that. > status: New → Opinion Hmmm. How about this? If the user runs "mksh -?", "mksh /?", "mksh -v", "mksh -V", "mksh -h", "mksh -H", or "mksh /h" -- or if the user enters the single word "help" at a shell prompt -- then perhaps mksh could echo: --- cut here --- mksh R50b+cvs For help: <http://mirbsd.de/mksh>. --- cut here --- Then, if applicable, treat the "-v" or "-V" or "-h" or "-H" or "/h" as POSIX/SUSv4 require. So, don't terminate; instead, show the shell prompt and proceed as if the user had entered a "set" command. Or, look for an executable file in the root directory named "/h", try to launch it, and if it wasn't found, inform the user. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1366451 Title: "mksh -v" should display mksh's version number, plus the attached chunk of text, onscreen To manage notifications about this bug go to: https://bugs.launchpad.net/mksh/+bug/1366451/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs