|
From: | Joachim Schmitz |
Subject: | Re: Any guide about writing my own bash built-in commands? |
Date: | Sat, 30 Jan 2010 15:17:22 +0100 |
Clark J. Wang wrote:
Hi all, I want to write my own built-in bash commands but I cannot find any info about that in bash manual. Anyone has any idea?
Have a look into the .def files in the builtins directory of bash's source tree. Add your .def file (start with a copy of an existing one changed to your needs), update Makefile (or better Maklefile.in) and you're done.
Did this myself to add a couple of platform specific builtinsBye, Jojo
[Prev in Thread] | Current Thread | [Next in Thread] |