Jason requested an explicit answer to
https://bugs.launchpad.net/mksh/+bug/1366451/comments/9 and here it is:
The idea is ok, but you’ll have to take this up with the Android
developers yourself and submit it to AOSP using their Gerrit instance.
That’s all I ever do, too.
I could imagine an implementation like this:
function help {
cat <<EOF
This is mksh, the MirBSD Korn Shell - $KSH_VERSION
You can use a shell to perform advanced administrative and troubleshooting
tasks. A Unix shell is also a scripting language good for little programs.
On Android, you can also use it to capture screenshots and screencasts.
To work with files and directories:
See <http://www.cs.bu.edu/teaching/unix/reference/commands.html>.
To work with Android logs, packages, databases, screencasts, and the like:
See <http://developer.android.com/tools/help/adb.html#shellcommands>.
To view the mksh homepage and manpage:
Please visit <http://www.mirbsd.org/mksh.htm>.
If you have a question, comment, bug report, or suggestion:
On Android: Please visit <http://android.stackexchange.com/>.
On other systems: Please visit <http://unix.stackexchange.com/>.
EOF
}
This would in-situ replace the shell version, even easier than to ask
the user to echo $KSH_VERSION themselves. I also used an http link, to
save bandwidth (the other homepage link redirects to https). I also
added a bit about scripting.
--
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs