V6 Thompson Shell Port provides two ports of the original /bin/sh from Sixth Edition (V6) Unix (circa 1975). osh is an enhanced port of the shell, and sh6 is an unenhanced port of the shell. This project also includes the following external shell utilities: glob6, if, goto, and fd2.
| Tags | Shells |
|---|---|
| Licenses | BSD Revised |
| Operating Systems | Unix POSIX |
| Implementation | C |
Recent releases


Changes: This release fixes an echo bug in osh that causes 'echo ""' to print an unnecessary diagnostic. It also fixes a 'sigign' bug in osh that can cause incorrect signal ignoring behavior for subshells. For osh features, it adds 'cd' as a synonym for the 'chdir' special command. It also adds $m as a special parameter for the value of the MANPATH environment variable.


Changes: This release changes the effect of the "-v" command-line option so that, in addition to printing non-blank command lines to the standard error, the shell also prints each blank/empty command line as an empty line. It also changes the fd2 "-e" command-line option so that it reflects the documented behavior. For example, this change causes invocation of "fd2 -ef file command" to redirect both conventional output and diagnostic output from "command" to "file".


Changes: This release adds a configure case for DragonFly BSD to prevent a "config.h" compilation warning. It fixes a bug introduced in version 20081026 which causes the shell to incorrectly print empty termination messages for the SIGINT signal in some cases when it should not do so. It also fixes a bug introduced in version 20061230 which causes the shell to incorrectly handle unescaped terminating backslash (\) characters at the end of strings when invoked as "osh -c string".


Changes: This release integrates the external 'if', 'goto', and 'fd2' shell utilities into osh as special built-in commands to improve shell performance. It adds 'echo' as a special built-in command for the same reason. It adds a new '-e' command line option to the fd2 utility. This option allows redirection of stdout to stderr.


Changes: Support was added for 3 new command line options: "-i", "-l", and "-v". Support was added for 3 new rc files. This includes a system-wide "osh.oshrc", a system-wide "osh.logout", and a user ".osh.logout". Other miscellaneous improvements were also made.
A simple tool for managing the urge to do "just one more thing".