diff options
author | miwi <miwi@FreeBSD.org> | 2007-04-21 05:36:35 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-04-21 05:36:35 +0800 |
commit | d3f99824a6295181fc430e34586f846b240d21f4 (patch) | |
tree | 3ac622a187db8b418c461179ae388b69c0cce0c5 /shells/Makefile | |
parent | 9f629c324ece5e0f6991d9397483bccd929b1118 (diff) | |
download | freebsd-ports-gnome-d3f99824a6295181fc430e34586f846b240d21f4.tar.gz freebsd-ports-gnome-d3f99824a6295181fc430e34586f846b240d21f4.tar.zst freebsd-ports-gnome-d3f99824a6295181fc430e34586f846b240d21f4.zip |
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`
PR: ports/111829
Submitted by: Zane C. Bowers
Diffstat (limited to 'shells/Makefile')
-rw-r--r-- | shells/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shells/Makefile b/shells/Makefile index 0e4b8be91ce9..6548f3d1e13c 100644 --- a/shells/Makefile +++ b/shells/Makefile @@ -28,6 +28,7 @@ SUBDIR += rssh SUBDIR += sash SUBDIR += scponly + SUBDIR += shell-include SUBDIR += tcsh-bofh SUBDIR += tcsh_nls SUBDIR += tcshrc |