Bug 111829 - New port: devel/shell-include A include system for shell scripts
Summary: New port: devel/shell-include A include system for shell scripts
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-18 20:00 UTC by Zane C. Bowers-Hadley
Modified: 2007-04-20 22:40 UTC (History)
0 users

See Also:


Attachments
shell-include.shar (2.61 KB, text/plain)
2007-04-18 20:00 UTC, Zane C. Bowers-Hadley
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zane C. Bowers-Hadley 2007-04-18 20:00:17 UTC

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`


resubmission....  it looks like my the other did not go through...

How-To-Repeat: 

1: notice this is not in the ports, unshar it, and install it...
2:
3: avoid the scary flying monkies
4: enjoy
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2007-04-18 20:56:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2007-04-19 09:28:47 UTC
State Changed
From-To: open->feedback

Ask for maintainer fix.
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2007-04-20 22:36:39 UTC
State Changed
From-To: feedback->closed

New port added, with minor changes. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-04-20 22:36:43 UTC
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)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"