Date: Fri, 20 Apr 2007 21:36:35 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/shells Makefile ports/shells/shell-include Makefile distinfo pkg-descr pkg-plist Message-ID: <200704202136.l3KLaagS037676@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
miwi 2007-04-20 21:36:35 UTC
FreeBSD ports repository
Modified files:
shells Makefile
Added files:
shells/shell-include Makefile distinfo pkg-descr pkg-plist
Log:
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
Revision Changes Path
1.64 +1 -0 ports/shells/Makefile
1.1 +39 -0 ports/shells/shell-include/Makefile (new)
1.1 +3 -0 ports/shells/shell-include/distinfo (new)
1.1 +9 -0 ports/shells/shell-include/pkg-descr (new)
1.1 +9 -0 ports/shells/shell-include/pkg-plist (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704202136.l3KLaagS037676>
