Shell-include

A include system for shell scripts

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`

http://vvelox.net/projects/shell-include/

Other posts in this category
Stay informed, subscribe to our newsletter !

{ 0 comments… add one }

Leave a Comment


eight × 1 =

Next post:

Previous post: