Nixers Book Club - Book #4: The Art of UNIX Programming - Community & Forums Related Discussions
Users browsing this thread: 7 Guest(s)
|
|||
(05-06-2021, 03:25 AM)venam Wrote: The "sub tools category", the programs that start with a name such plan9 does subtools in a very elegant way: as binaries in sub-directories in your $path (which, in plan9, is merged into /bin/). Rather than a master command git(1) have subcomands clone, log, etc; they are all grouped in a subdirectory at /bin (/bin/git). The system will look on subdirectories at /bin/ and call the binary accordingly. Here's an example from 9front port of git: Code: git/clone git://git.eigenstate.org/ori/mc.git |
|||