OSSP CVS Repository

ossp - Difference in ossp-pkg/shtool/shtool.pod versions 1.47 and 1.48
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/shtool/shtool.pod 1.47 -> 1.48

--- shtool.pod   2000/07/06 13:29:11     1.47
+++ shtool.pod   2001/01/17 10:15:02     1.48
@@ -403,7 +403,7 @@
      lex scanner.l
      shtool move -t -p lex.yy.c scanner.c
 
-=item B<install> [B<-v>] [B<-t>] [B<-c>] [B<-C>] [B<-s>] [B<-m> I<mode>] [B<-o> I<owner>] [B<-g> I<group>] [B<-e> I<ext>] I<file> I<path>
+=item B<install> [B<-v>] [B<-t>] [B<-c>] [B<-C>] [B<-s>] [B<-m> I<mode>] [B<-o> I<owner>] [B<-g> I<group>] [B<-e> I<sed-cmd>] I<file> I<path>
 
 This command installs a program, script or datafile (dependent on I<mode>) in
 a portable way while providing all important options of the BSD install(1)
@@ -412,12 +412,14 @@
 to the current active uid/gid, but if this script is called as root (uid 0)
 the options ``B<-o>'' and ``B<-g>'' can be used to override this. 
 
-Additionally program executables is stripped with strip(1) after installation
-if option ``B<-s>'' is used.  Option ``B<-C>'' is like ``B<-c>'', except if
-the destination file already exists and the files are the same, the source is
-just removed.  Option ``B<-e>'' can be used to set an implicit executable
-extension.  Option ``B<-v>'' (verbose) can be used to enable the output of
-extra processing information. Option ``B<-t>'' (trace) can be used to enable
+Additionally program executables is stripped with strip(1) after
+installation if option ``B<-s>'' is used. Option ``B<-C>'' is like
+``B<-c>'', except if the destination file already exists and the files
+are the same, the source is just removed. Option ``B<-e>'' can be used
+one or multiple times to apply one or more sed(1) commands on-the-fly
+to the contents of the input I<file> before the output file is created.
+Option ``B<-v>'' (verbose) can be used to enable the output of extra
+processing information. Option ``B<-t>'' (trace) can be used to enable
 the output of the essential shell commands which are executed.
 
 The trick of this command is that it provides the functionality of BSD
@@ -430,6 +432,7 @@
       :
      shtool install -c -s -m 4755 foo $(bindir)/
      shtool install -c -m 644 foo.man $(mandir)/man1/foo.1
+     shtool install -c -m 644 -e "s/@p@/$prefix/g" foo.conf $(etcdir)/
 
 =item B<mkdir> [B<-t>] [B<-f>] [B<-p>] [B<-m> I<mode>] I<dir> [I<dir> ...]
 

CVSTrac 2.0.1