cvs commit: ports/shells Makefile ports/shells/shell-include
Makefile distinfo pkg-descr pkg-plist
Martin Wilke
miwi at FreeBSD.org
Fri Apr 20 21:36:36 UTC 2007
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)
More information about the cvs-ports
mailing list