2007-04-20 23:36:35 +02:00
|
|
|
Allows include files to be used in shells the same way they are with C.
|
|
|
|
The file with the include code needs to be included. This is done by
|
|
|
|
figuring out were it is located using which. . `which sh-include` will
|
|
|
|
take care of it for sh.
|
|
|
|
|
|
|
|
sh example...
|
|
|
|
. `which sh-include`
|
|
|
|
include fileGetLine
|
|
|
|
line=`fileGetLine /etc/group 4`
|
2007-05-28 16:58:33 +02:00
|
|
|
|
|
|
|
WWW: http://vvelox.net/projects/shell-include/
|