mirabilos, I wonder if you might be willing to please put some shell
function like this into the dot.mkshrc in upstream mksh CVS? It seems
to me a fairly uncontroversial change. Then, next time you push the
latest mksh version into Android gerrit, perhaps you could include this
change as part of the broader changelist.
Plus, then perhaps MirBSD mksh and Android mksh could end up shipping
similar or identical "help" shell functions in their respective
dot.mkshrc files.
function help {
cat <<EOT
This is mksh, the MirBSD Korn Shell.
Version: $KSH_VERSION
You can use a shell to perform advanced administrative and troubleshooting
tasks, or as a programming language for writing small programs.
On Android, you can also use a shell 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/>.
EOT
}
--
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