Index: ossp-pkg/shtool/AUTHORS RCS File: /v/ossp/cvs/ossp-pkg/shtool/AUTHORS,v co -q -kk -p'1.5' '/v/ossp/cvs/ossp-pkg/shtool/AUTHORS,v' | diff -u /dev/null - -L'ossp-pkg/shtool/AUTHORS' 2>/dev/null --- ossp-pkg/shtool/AUTHORS +++ - 2024-05-14 08:07:44.145498029 +0200 @@ -0,0 +1,27 @@ + _ _ _ + ___| |__ | |_ ___ ___ | | + / __| '_ \| __/ _ \ / _ \| | + \__ \ | | | || (_) | (_) | | + |___/_| |_|\__\___/ \___/|_| + + GNU shtool -- The GNU Portable Shell Tool + + This is a list of authors who have written + or edited parts of the GNU shtool sources. + + o GNU shtool (as a whole) + Written by: Ralf S. Engelschall + Edited by: Ralf S. Engelschall + + o sh.mkdir: + Written by: Noah Friedman, Ralf S. Engelschall + Edited by: Ralf S. Engelschall + + o sh.mdate: + Written by: Ulrich Drepper, Ralf S. Engelschall + Edited by: Ralf S. Engelschall + + o sh.guessos: + Written by: Jim Jagielski et all, ASF + Edited by: Ralf S. Engelschall + Index: ossp-pkg/shtool/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/shtool/ChangeLog,v rcsdiff -q -kk '-r1.154' '-r1.155' -u '/v/ossp/cvs/ossp-pkg/shtool/ChangeLog,v' 2>/dev/null --- ChangeLog 2001/06/14 12:47:28 1.154 +++ ChangeLog 2001/06/14 14:24:16 1.155 @@ -1,16 +1,19 @@ - _ _ _ + _ _ _ ___| |__ | |_ ___ ___ | | / __| '_ \| __/ _ \ / _ \| | \__ \ | | | || (_) | (_) | | |___/_| |_|\__\___/ \___/|_| - + GNU shtool -- The GNU Portable Shell Tool ____________________________________________________________________ ChangeLog - + Changes between 1.5.3 and 1.5.4 (19-Apr-2001 to xx-Jun-2001): + *) Removed numerious trailing whitespaces from source files. + [Ralf S. Engelschall] + *) Fixed typos in README. [Ralf S. Engelschall] @@ -23,7 +26,7 @@ *) Fixed example of `shtool move' in shtool.pod [Ralf S. Engelschall] - + *) Fixed a bug in `shtool echo -e %d' [Ralf S. Engelschall, Christoph Schug ] @@ -32,7 +35,7 @@ Changes between 1.5.2 and 1.5.3 (29-Feb-2001 to 19-Apr-2001): - *) Added support for three usage lines to shtoolize.sh. + *) Added support for three usage lines to shtoolize.sh. [Ralf S. Engelschall] *) Fixed a few whitespace inconsistencies in shtool.pod @@ -66,8 +69,8 @@ *) Adjusted the shtool.spec a little bit. [Ralf S. Engelschall] - - *) Be extra paranoid and create temporary files with permissions of 0600. + + *) Be extra paranoid and create temporary files with permissions of 0600. [Ralf S. Engelschall] *) Replaced a few too conservative `if [..] && [..]' with the faster @@ -76,16 +79,16 @@ [Ralf S. Engelschall] *) Fixed `shtool install': the default for option -m is 0755 in - order to be consistent with the semantics of original BSD and - GNU install commands. + order to be consistent with the semantics of original BSD and + GNU install commands. [Evgeny Stambulchik ] *) Added support to Makefile.in for DESTDIR variable. This allows - easier rolling of installation tarballs (for instance from within + easier rolling of installation tarballs (for instance from within RPM or similar facilities) by using "make install DESTDIR=/tmp/shtool". [Brad Smith ] - *) Actually use the determined `find' command instead of the + *) Actually use the determined `find' command instead of the hard-coded one in `shtool tarball'. [Denis Barbier ] @@ -95,7 +98,7 @@ format is not understood by all AWK flavors. So use the more portable `%x' instead and pass the result trough a `tr' filter. [Ralf S. Engelschall, Joe Meadows , - Todd R. Stroup , Keith Minkler + Todd R. Stroup , Keith Minkler ] *) Typo in shtool.pod @@ -139,7 +142,7 @@ *) Fixed shtool.pod: `shtool path -m perl5 perl' is bogus, it has to be just `shtool path -m perl' because the "perl" argument is magic. [Ralf S. Engelschall] - + *) Fixed `here-document' handling in shtoolize: the whitespaces were incorrectly determined and so newlines were lost. [Ralf S. Engelschall] @@ -149,12 +152,12 @@ for mass-installing files by using shell wildcards for the source. [Ralf S. Engelschall] - *) Be compatible with SUSv2 and let `shtool mkdir -p' not complain + *) Be compatible with SUSv2 and let `shtool mkdir -p' not complain if directory already exists. [Sascha Schumann ] Changes between 1.4.8 and 1.4.9 (12-Mar-2000 to 16-Apr-2000): - + *) Added an `-f ' option to `shtool scpp' which can be used to pre-filter all input files with one or more sed-expressions . [Ralf S. Engelschall] @@ -172,7 +175,7 @@ only if terminal is not a vt100, vt200 or an xterm (because for these three we have the escape sequences hard-coded). [Ralf S. Engelschall] - + *) Fixed various typos in the scripts. [Ralf S. Engelschall] @@ -181,7 +184,7 @@ [Ralf S. Engelschall] *) Added a RPM spec file shtool.spec which allows one to build RPM - packages directly from the Shtool distribution tarball through a + packages directly from the Shtool distribution tarball through a simple `rpm -tb shtool-1.X.Y.tar.gz' call. [Daniel Richard G. ] @@ -198,7 +201,7 @@ Additionally we now use sed instead of awk here. [Ralf S. Engelschall] - *) Made shtool's command line related error messages more + *) Made shtool's command line related error messages more clear by distinguishing between options and commands. [Denis Barbier ] @@ -258,7 +261,7 @@ Changes between 1.4.3 and 1.4.4 (11-Jul-1999 to 17-Jul-1999): - *) Added a new `shtool tarball' command for rolling + *) Added a new `shtool tarball' command for rolling nice distribution tarballs. [Ralf S. Engelschall] @@ -268,8 +271,8 @@ *) Adjusted IRIX detection in sh.guessos. [Ralf S. Engelschall] - *) Allow shtool to recognize symlinks to itself with the name of - the shtool command like in `ln -s shtool install'. + *) Allow shtool to recognize symlinks to itself with the name of + the shtool command like in `ln -s shtool install'. This is useful for emulation situations. [Paolo Bonzini , Ralf S. Engelschall] @@ -292,7 +295,7 @@ *) Enhanced sh.guessos for more granular GNU/Linux detection. This especially fixes problems when using the guessed id with libtool. [Ralf S. Engelschall] - + *) Enhanced `shtool scpp': The generated function prototypes now no longer contain the argument names to avoid namespace conflicts [Ralf S. Engelschall] @@ -374,20 +377,20 @@ [Ralf S. Engelschall, Markus F.X.J. Oberhumer ] - *) Fixed error status handling in sh.move + *) Fixed error status handling in sh.move [Markus F.X.J. Oberhumer ] Changes between 1.3.1 and 1.3.2 (28-Jun-1999 to 28-Jun-1999): *) Fixed a portability problem under SysV shells inside the source tree: the sh.xxxx scripts have to include sh.common via ``. ./sh.common'' - instead of just ``. sh.common'' in order to find sh.common in the - source tree while bootstrapping. + instead of just ``. sh.common'' in order to find sh.common in the + source tree while bootstrapping. [Ralf S. Engelschall, Lars Hecking ] Changes between 1.3.0 and 1.3.1 (25-Jun-1999 to 28-Jun-1999): - *) Fixed directory checks in mkshadow command [Ralf S. Engelschall, + *) Fixed directory checks in mkshadow command [Ralf S. Engelschall, Evgeny Stambulchik ] *) Added -d (debug) and -a (symlink all) options to mkshadow command. @@ -466,7 +469,7 @@ Changes between 1.2.5 and 1.2.6 (12-May-1999 to 13-May-1999): - *) Added leading underscores in AS_HEADER and defines + *) Added leading underscores in AS_HEADER and defines used in the generated file of sh.version [Ralf S. Engelschall] @@ -488,13 +491,13 @@ *) Removed Apache relicts in sh.mkshadow: apaci, etc. [Ralf S. Engelschall] - *) Cleanups to Makefile.in + *) Cleanups to Makefile.in [Denis Barbier /dev/null --- Makefile.in 2001/01/17 09:55:11 1.41 +++ Makefile.in 2001/06/14 14:24:16 1.42 @@ -29,7 +29,7 @@ aclocaldir = $(datadir)/aclocal pkgdatadir = $(datadir)/shtool -DESTDIR = +DESTDIR = SHELL = /bin/sh PERL = @PERL@ @@ -124,12 +124,12 @@ $(RMDIR) $(DESTDIR)$(mandir) >/dev/null 2>&1 || $(TRUE) $(RMDIR) $(DESTDIR)$(bindir) >/dev/null 2>&1 || $(TRUE) $(RMDIR) $(DESTDIR)$(prefix) >/dev/null 2>&1 || $(TRUE) - + clean: $(RM) shtool shtool.1 shtoolize.1 distclean: clean - $(RM) Makefile shtoolize + $(RM) Makefile shtoolize $(RM) config.cache config.status config.log # (not intended to be run by end users) Index: ossp-pkg/shtool/README RCS File: /v/ossp/cvs/ossp-pkg/shtool/README,v rcsdiff -q -kk '-r1.77' '-r1.78' -u '/v/ossp/cvs/ossp-pkg/shtool/README,v' 2>/dev/null --- README 2001/06/14 12:47:28 1.77 +++ README 2001/06/14 14:24:16 1.78 @@ -1,9 +1,9 @@ - _ _ _ + _ _ _ ___| |__ | |_ ___ ___ | | / __| '_ \| __/ _ \ / _ \| | \__ \ | | | || (_) | (_) | | |___/_| |_|\__\___/ \___/|_| - + GNU shtool -- The GNU Portable Shell Tool Copyright (c) 1994-2001 Ralf S. Engelschall Index: ossp-pkg/shtool/THANKS RCS File: /v/ossp/cvs/ossp-pkg/shtool/THANKS,v rcsdiff -q -kk '-r1.19' '-r1.20' -u '/v/ossp/cvs/ossp-pkg/shtool/THANKS,v' 2>/dev/null --- THANKS 2001/04/19 07:33:55 1.19 +++ THANKS 2001/06/14 14:24:16 1.20 @@ -1,12 +1,12 @@ - _ _ _ + _ _ _ ___| |__ | |_ ___ ___ | | / __| '_ \| __/ _ \ / _ \| | \__ \ | | | || (_) | (_) | | |___/_| |_|\__\___/ \___/|_| - + GNU shtool -- The GNU Portable Shell Tool ____________________________________________________________________ - + THANKS Credit has to be given to the following people who contributed ideas, Index: ossp-pkg/shtool/sh.echo RCS File: /v/ossp/cvs/ossp-pkg/shtool/sh.echo,v rcsdiff -q -kk '-r1.26' '-r1.27' -u '/v/ossp/cvs/ossp-pkg/shtool/sh.echo,v' 2>/dev/null --- sh.echo 2001/06/13 21:30:05 1.26 +++ sh.echo 2001/06/14 14:24:16 1.27 @@ -48,7 +48,7 @@ fi # determine terminal bold sequence -term_bold='' +term_bold='' term_norm='' if [ ".$opt_e" = .yes -a ".`echo $text | egrep '%[Bb]'`" != . ]; then case $TERM in Index: ossp-pkg/shtool/sh.install RCS File: /v/ossp/cvs/ossp-pkg/shtool/sh.install,v rcsdiff -q -kk '-r1.20' '-r1.21' -u '/v/ossp/cvs/ossp-pkg/shtool/sh.install,v' 2>/dev/null --- sh.install 2001/01/17 11:05:40 1.20 +++ sh.install 2001/06/14 14:24:16 1.21 @@ -35,7 +35,7 @@ . ./sh.common -# determine source(s) and destination +# determine source(s) and destination argc=$# srcs="" while [ $# -gt 1 ]; do Index: ossp-pkg/shtool/sh.version RCS File: /v/ossp/cvs/ossp-pkg/shtool/sh.version,v rcsdiff -q -kk '-r1.28' '-r1.29' -u '/v/ossp/cvs/ossp-pkg/shtool/sh.version,v' 2>/dev/null --- sh.version 2001/01/17 09:55:11 1.28 +++ sh.version 2001/06/14 14:24:16 1.29 @@ -91,7 +91,7 @@ echo dummy | awk '{ printf("new version: "); }' read triple case $triple in - [0-9]*.[0-9]*[sabp.][0-9]* ) + [0-9]*.[0-9]*[sabp.][0-9]* ) ;; * ) echo "$msgprefix:Error: invalid version string entered: \`$triple'" 1>&2 continue @@ -175,7 +175,7 @@ exit 1 ;; esac -else +else # update the version file # pre-generate various strings @@ -198,7 +198,7 @@ # generate uppercase prefix prefixupper=`echo $prefix |\ tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - + # create the version file according the the selected language echo "new version: ${vLong}" Index: ossp-pkg/shtool/shtool.m4 RCS File: /v/ossp/cvs/ossp-pkg/shtool/shtool.m4,v rcsdiff -q -kk '-r1.2' '-r1.3' -u '/v/ossp/cvs/ossp-pkg/shtool/shtool.m4,v' 2>/dev/null --- shtool.m4 2000/06/18 11:27:10 1.2 +++ shtool.m4 2001/06/14 14:24:16 1.3 @@ -38,7 +38,7 @@ break fi done -# check for existance +# check for existance if test ".$ac_cv_shtool" = .; then AC_MSG_ERROR([no shtool found in .:$PATH]) fi Index: ossp-pkg/shtool/shtool.pod RCS File: /v/ossp/cvs/ossp-pkg/shtool/shtool.pod,v rcsdiff -q -kk '-r1.51' '-r1.52' -u '/v/ossp/cvs/ossp-pkg/shtool/shtool.pod,v' 2>/dev/null --- shtool.pod 2001/06/13 21:30:05 1.51 +++ shtool.pod 2001/06/14 14:24:16 1.52 @@ -29,10 +29,10 @@ =head1 SYNOPSIS -B -[ I ] -I -[ I ] +B +[ I ] +I +[ I ] [ I ] =head1 DESCRIPTION @@ -66,7 +66,7 @@ were locally adjusted because no centralized maintainance location exists, of course. For B no such problem exists, because the resulting C script is generated on-the-fly. The same applies to B -and the various C files. +and the various C files. Only for B one always has to grab the latest copy. But because it's just two files (C and C), keeping a source trees in sync @@ -89,7 +89,7 @@ files in the source tree are just auxiliary scripts. Sure, the actual amount of script code even B cannot reduce, but B merges them together into a single file and this way they optically totally disappear from -the source tree. +the source tree. This is a pure aesthetical issue, of course. But keep in mind that hacking is a piece of art. And a well layouted source tree is a piece of art for real @@ -110,7 +110,7 @@ =head2 The goals in detail To better understand the intentions behind B and to avoid confusion, -here are the original goals of the B script: +here are the original goals of the B script: =over 3 @@ -142,7 +142,7 @@ =item B<4. It has to be clean and fully documented> This was achieved by reimplementing too ugly functionality from scratch and -cleaning up old shell script code plus writing this complete manual page. +cleaning up old shell script code plus writing this complete manual page. =item B<5. It has to stay under a reasonable and common license> @@ -190,7 +190,7 @@ Recreate the B script with its own individual shtoolize(1) call. -=back +=back =head1 COMMANDS @@ -214,7 +214,7 @@ Pretty-prints a field-sperarated list as a table. -=item B +=item B Display a processing indication though a running propeller. @@ -292,7 +292,7 @@ constructs (terminal bold mode, environment details, date) and newline control. Per default I is written to I followed by a newline character (``C<\n>''). When option ``B<-n>'' is used this newline character is -left out. +left out. The I can contain special ``B<%>I'' constructs which which are expanded before the output is written if option ``B<-e>'' is @@ -325,7 +325,7 @@ three characters, option ``B<-d>'' replaces the month name with the corresponding digits, option ``B<-f>'' uses I as the field separator (default is a single space character) and option ``B<-o>'' specified the order -in which the fields are printed. +in which the fields are printed. The default for I is ``C'' which means an output of `` ''. Any combination of the chars ``C'', ``C'' and ``C'' or @@ -347,7 +347,7 @@ This pretty-prints a I-sperarated list of Iings as a table. Per default a colon-separated list (I=":") is pretty printed as a three-column (=3) table no longer than 79 chars (I=79) is -generated where each column is 15 characters wide (I=15). +generated where each column is 15 characters wide (I=15). The trick of this command is that it avoids to use the unportable tr(1) and fmt(1) commands and instead is based entirely on sh(1), awk(1) and sed(1) @@ -412,7 +412,7 @@ command. Per default I is moved to the target I, but with option ``B<-c>'' I is copied. The target file is created with owner/group set 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. +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 @@ -484,7 +484,7 @@ creating the files of I by linking them into the corresponding directories under I via symbolic links. When I can be reached via relative paths from I, relative symbolic links are used, -too. +too. Option ``B<-v>'' (verbose) can be used to enable some displaying of processing information. Option ``B<-t>'' (trace) can be used to display all commands @@ -496,7 +496,7 @@ The trick of this is that is provides such a high-level functionality with a single command and hides all gory details. -Example: +Example: # shell script shtool mkshadow -v -a . /tmp/shadow @@ -530,7 +530,7 @@ unpacks into a top-level directory `C'); third the files in the tarball should be sorted to allow users to use the `C' command in a reasonable way; fourth the owner and group of the files in the tarball -for security reasons can be set to arbitrary names. +for security reasons can be set to arbitrary names. The input files are given by the file or directory arguments I. Directories are expanded before the comma-separated exclude (option B<-e>) @@ -544,7 +544,7 @@ essential shell commands which are executed. The trick of this command is that it combines the complex process of rolling a -good tarball into a I command. +good tarball into a I command. Example: @@ -601,7 +601,7 @@ options are contained. B parses these two options only and ignores the remaining contents. The result is a trivial shell script on C which defines six variables containing the ``B<-L>'' and ``B<-l>'' options sorted by -class: +class: ``C'' and ``C'' contains the ``B<-L>'' and ``B<-l>'' options of static libraries, ``C'' and @@ -632,7 +632,7 @@ cpp(1) code segments, internal variables and internal functions. The intention for this comes from writing libraries in ANSI C. Here a common shared internal header file is usually used for sharing information between the library -source files. +source files. The operation is to parse special constructs in Is, generate a few things out of these constructs and insert them at position I in I @@ -689,14 +689,14 @@ #endif intern int ours; static int myone = 0815; - intern int bar(void) + intern int bar(void) { ours += myone; } /* foo_quux.c */ #include "foo_p.h" - int main(int argc, char *argv[]) + int main(int argc, char *argv[]) { int i; ours = OURS_INIT @@ -752,7 +752,7 @@ executable in $PATH or I through one or more filenames (given by one or more I arguments). The result is the absolute filesystem path to the program displayed on C plus an exit code of 0 if it was really -found. +found. The option ``B<-s>'' can be used to suppress the output which is useful to just test whether a program exists with the help of the return code. The Index: ossp-pkg/shtool/shtoolize.in RCS File: /v/ossp/cvs/ossp-pkg/shtool/shtoolize.in,v rcsdiff -q -kk '-r1.22' '-r1.23' -u '/v/ossp/cvs/ossp-pkg/shtool/shtoolize.in,v' 2>/dev/null --- shtoolize.in 2001/04/19 07:54:50 1.22 +++ shtoolize.in 2001/06/14 14:24:17 1.23 @@ -34,7 +34,7 @@ # Available modules my @available = qw( - echo mdate table prop move install mkdir mkln mkshadow + echo mdate table prop move install mkdir mkln mkshadow fixperm tarball guessos arx slo scpp version path ); @@ -200,7 +200,7 @@ # adjust script code $code =~ s|^#!/bin/sh\n||s; my $head = ''; - 1 while ($code =~ s|^(##\s*\n)|$head .= $1, ''|se || + 1 while ($code =~ s|^(##\s*\n)|$head .= $1, ''|se || $code =~ s|^(##\s+.*?\n)|$head .= $1, ''|se); $head =~ s|##\s+This file is.+\n##\s+USA.+?\n##\n||s; $code =~ s|\n\n+|\n\n|sg; @@ -361,7 +361,7 @@ echo "Copyright (c) 1994-2001 Ralf S. Engelschall " echo "Report bugs to " echo '' - echo "Usage: shtool [] [ [] []]" + echo "Usage: shtool [] [ [] []]" echo '' echo 'Available global :' echo ' -v, --version display shtool version information' Index: ossp-pkg/shtool/shtoolize.pod RCS File: /v/ossp/cvs/ossp-pkg/shtool/shtoolize.pod,v rcsdiff -q -kk '-r1.5' '-r1.6' -u '/v/ossp/cvs/ossp-pkg/shtool/shtoolize.pod,v' 2>/dev/null --- shtoolize.pod 2001/06/14 12:47:28 1.5 +++ shtoolize.pod 2001/06/14 14:24:17 1.6 @@ -29,13 +29,13 @@ =head1 SYNOPSIS -B +B [B<-h>] [B<-v>] [B<-q>] [B<-o> I