v18i009: libhoward - libhoward portability library, Patch01c/3
Howard Gayle
howard at ericsson.se
Wed Apr 10 14:11:42 AEST 1991
Submitted-by: Howard Gayle <howard at ericsson.se>
Posting-number: Volume 18, Issue 9
Archive-name: libhoward/patch01c
Patch-To: libhoward: Volume 8, Issue 80-87,96
#! /bin/sh
# This is a shell patch script from revision 1.7 to revision 2.3.
# Remove anything before this line, then feed it into a shell, for
# example by typing "sh file". This script was created by:
# $Header: freezePch.b,v 1.2 89/09/25 07:01:13 howard Exp $
#
patch -c lnR.1 << 'EOF'
***************
*** 1,14 ****
! .\" $Header: lnR.1,v 1.2 89/09/15 11:45:47 howard Exp $
! .TH LNR 1 "$Revision: 1.2 $"
.SH NAME
lnR \- link contents of directory recursively
.SH SYNOPSIS
.B lnR
! .RB [ " \-s " ]
! .RB [ " \-v " ]
.I from to
.SH COPYRIGHT
! Copyright \(co 1989 Howard Lee Gayle
.SH DESCRIPTION
.I LnR
links the files in directory
--- 1,13 ----
! '.\" $Header: /usr/local/dist/free-dist/howard/2/work/RCS/lnR.1,v 1.4 91/02/28 06:17:57 howard Exp $
! .TH LNR 1 "$Revision: 1.4 $"
.SH NAME
lnR \- link contents of directory recursively
.SH SYNOPSIS
.B lnR
! ..RB [ " \-v " ]
.I from to
.SH COPYRIGHT
! Copyright \(co 1989, 1991 Howard Lee Gayle
.SH DESCRIPTION
.I LnR
links the files in directory
***************
*** 15,37 ****
.I from
and recursively all subdirectories into the directory
.IR to .
It creates directories as necessary.
In other words, it performs a shallow copy.
.SH OPTIONS
.nr xx (\w'\-s 'u+2n)/1n
.TP \n(xx
- .B \-s
- Use symbolic links.
- The default is to use hard links.
.TP
.B \-v
Verbose.
.SH EXAMPLE
.nf
! lnR /usr/local/free-dist/tex/2.93 /usr/local/free/tex/2.93
.fi
.SH "SEE ALSO"
.IR ln (1).
.SH BUGS
It should handle block and character special files.
It should be able to copy directories' owners, groups, and modes.
--- 14,39 ----
.I from
and recursively all subdirectories into the directory
.IR to .
+ It uses hard links.
It creates directories as necessary.
In other words, it performs a shallow copy.
.SH OPTIONS
.nr xx (\w'\-s 'u+2n)/1n
.TP \n(xx
.TP
.B \-v
Verbose.
.SH EXAMPLE
.nf
! lnR /usr/local/free-dist/tex/2.93 /f/tex/2.93
.fi
.SH "SEE ALSO"
.IR ln (1).
+ .PP
+ The
+ .IR lndir (1)
+ command in X11R4 performs about the same function, but with
+ symbolic links.
.SH BUGS
It should handle block and character special files.
It should be able to copy directories' owners, groups, and modes.
***************
*** 49,61 ****
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle,
! TN/ETX/T/BG,
! Ericsson Telecom AB,
! S-126 25 Stockholm,
! Sweden,
! howard at ericsson.se,
! uunet!ericsson.se!howard,
! Phone: +46 8 719 5565,
! FAX: +46 8 719 9598,
! Telex: 14910 ERIC S
--- 51,54 ----
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle
EOF
patch -c lnR.b << 'EOF'
***************
*** 1,9 ****
# lnR - shallow-copy subtree
#
! # $Header: lnR.b,v 1.3 89/09/21 19:22:13 howard Exp $
#
! # Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
--- 1,9 ----
# lnR - shallow-copy subtree
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/lnR.b,v 1.5 91/02/28 06:18:27 howard Exp $
#
! # Copyright 1989, 1991 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
***************
*** 21,40 ****
#
# Shell variables:
# a - auxiliary command
- # s - flag set for -s (symbolic link) option
# v - flag set for -v (verbose) option
# u - usage string
CMDNAME=lnR
export CMDNAME
! u='Usage: $CMDNAME [-s] [-v] from to'
a=lnR0
- s=' '
v=0
while [ $# -gt 2 ]
do
case "x$1" in
- x-s) s='-s' ;;
x-v) v='1' ;;
*) echo "$u" 1>&2; exit 1 ;;
esac
--- 21,37 ----
#
# Shell variables:
# a - auxiliary command
# v - flag set for -v (verbose) option
# u - usage string
CMDNAME=lnR
export CMDNAME
! u="Usage: $CMDNAME [-v] from to"
a=lnR0
v=0
while [ $# -gt 2 ]
do
case "x$1" in
x-v) v='1' ;;
*) echo "$u" 1>&2; exit 1 ;;
esac
***************
*** 45,50 ****
echo "$u" 1>&2
exit 1
fi
! $a "$s" "$v" "$1" "$2"
cd "$1"
! find . -print | sed -e '1d' -e 's;^\./;;' | xargs -i $a "$s" "$v" {} "$2/{}"
--- 42,47 ----
echo "$u" 1>&2
exit 1
fi
! $a "$v" "$1" "$2"
cd "$1"
! find . -print | sed -e '1d' -e 's;^\./;;' | xargs -i $a "$v" {} "$2/{}"
EOF
patch -c lnR0.b << 'EOF'
***************
*** 1,9 ****
# lnR0 - auxiliary shell file for lnR
#
! # $Header: lnR0.b,v 1.4 89/09/21 19:22:16 howard Exp $
#
! # Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
--- 1,9 ----
# lnR0 - auxiliary shell file for lnR
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/lnR0.b,v 1.6 91/02/28 06:18:30 howard Exp $
#
! # Copyright 1989, 1991 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
***************
*** 22,31 ****
# Shell variables:
# l - ln command
# m - mkdir command
# u - usage string
! u='Usage: lnR0 symbolic verbose from to'
! if [ $# -ne 4 ]
then
echo "$u" 1>&2
exit 1
--- 22,32 ----
# Shell variables:
# l - ln command
# m - mkdir command
+ # s - symlink target
# u - usage string
! u="Usage: lnR0 verbose from to"
! if [ $# -ne 3 ]
then
echo "$u" 1>&2
exit 1
***************
*** 32,67 ****
fi
l='ln'
m='mkdir'
! if [ -b "$3" -o -c "$3" -o -p "$3" ]
then
! echo "$CMDNAME: can not link $3" 1>&2
exit 1
! elif [ -h "$3" ]
then
! s=`ls -l "$3" | sed -e 's;^..* -> ;;'`
! if [ $2 = 1 ]
then
! echo ln -s "$s" "$4"
fi
! $l -s "$s" "$4"
! elif [ -d "$3" ]
then
! if [ ! -d "$4" ]
then
! if [ $2 = 1 ]
then
! echo mkdir "$4"
fi
! $m "$4"
fi
! elif [ -f "$3" ]
then
! if [ $2 = 1 ]
then
! echo ln $1 "$3" "$4"
fi
! $l $1 "$3" "$4"
else
! echo "$CMDNAME: file $3 does not exist" 1>&2
exit 1
fi
--- 33,68 ----
fi
l='ln'
m='mkdir'
! if [ -b "$2" -o -c "$2" -o -p "$2" ]
then
! echo "$CMDNAME: can not link $2" 1>&2
exit 1
! elif [ -h "$2" ]
then
! s=`ls -l "$2" | sed -e 's;^..* -> ;;'`
! if [ $1 = 1 ]
then
! echo ln -s "$s" "$3"
fi
! $l -s "$s" "$3"
! elif [ -d "$2" ]
then
! if [ ! -d "$3" ]
then
! if [ $1 = 1 ]
then
! echo mkdir "$3"
fi
! $m "$3"
fi
! elif [ -f "$2" ]
then
! if [ $1 = 1 ]
then
! echo ln "$2" "$3"
fi
! $l "$2" "$3"
else
! echo "$CMDNAME: file $2 does not exist" 1>&2
exit 1
fi
EOF
patch -c malf.3 << 'EOF'
***************
*** 1,5 ****
! .\" @(#)$Header: malf.3,v 1.11 89/08/14 09:06:30 howard Exp $
! .TH MALF "3 -lhoward" "$Revision: 1.11 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
malf, malf0, malf1, mcalloc, mfclose, mfflush, mfopen, mfseek \- write error message
.SH SYNOPSIS
--- 1,5 ----
! .\" @(#)$Header: /usr/local/dist/free-dist/howard/2/work/RCS/malf.3,v 1.13 91/02/28 07:34:41 howard Exp $
! .TH MALF "3 -lhoward" "$Revision: 1.13 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
malf, malf0, malf1, mcalloc, mfclose, mfflush, mfopen, mfseek \- write error message
.SH SYNOPSIS
***************
*** 74,80 ****
.RI "bStrT " filename ";"
.fi
.SH COPYRIGHT
! Copyright \(co 1989 Howard Lee Gayle
.SH DESCRIPTION
.I Malf
writes on standard error a message with the syntax:
--- 74,80 ----
.RI "bStrT " filename ";"
.fi
.SH COPYRIGHT
! Copyright \(co 1989, 1991 Howard Lee Gayle
.SH DESCRIPTION
.I Malf
writes on standard error a message with the syntax:
***************
*** 235,240 ****
--- 235,245 ----
.IR putspn "(3 \-lhoward),"
.IR syslog (3),
.IR vfprintf (3S).
+ .PP
+ MIT's com_err system is a more sophisticated error handler
+ system, intended for libraries.
+ It posted to comp.sources.misc on 25 February 1991, volume 17,
+ issues 27-29, archive name com_err.
.SH ETYMOLOGY
The word "malf,"
presumably short for malfunction,
***************
*** 257,269 ****
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle,
! TN/ETX/T/BG,
! Ericsson Telecom AB,
! S-126 25 Stockholm,
! Sweden,
! howard at ericsson.se,
! uunet!ericsson.se!howard,
! Phone: +46 8 719 5565,
! FAX: +46 8 719 9598,
! Telex: 14910 ERIC S
--- 262,265 ----
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle
EOF
patch -c mcpstr.3 << 'EOF'
***************
*** 1,5 ****
! .\" $Header: mcpstr.3,v 1.2 89/05/18 10:56:17 howard Exp $
! .TH MCPSTR "3 -lhoward" "$Revision: 1.2 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
mcpstr \- make a new copy of a string and check for errors
.SH SYNOPSIS
--- 1,5 ----
! .\" $Header: /usr/local/dist/free-dist/howard/2/work/RCS/mcpstr.3,v 1.3 91/02/27 05:45:12 howard Exp $
! .TH MCPSTR "3 -lhoward" "$Revision: 1.3 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
mcpstr \- make a new copy of a string and check for errors
.SH SYNOPSIS
***************
*** 47,59 ****
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle,
! TN/ETX/T/BG,
! Ericsson Telecom AB,
! S-126 25 Stockholm,
! Sweden,
! howard at ericsson.se,
! uunet!ericsson.se!howard,
! Phone: +46 8 719 5565,
! FAX: +46 8 719 9598,
! Telex: 14910 ERIC S
--- 47,50 ----
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle
EOF
patch -c mfcopy.3 << 'EOF'
***************
*** 1,5 ****
! .\" $Header: mfcopy.3,v 1.1 89/08/13 15:45:31 howard Exp $
! .TH MFCOPY "3 -lhoward" "$Revision: 1.1 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
mfcopy \- copy bytes from one stream to another
.SH SYNOPSIS
--- 1,5 ----
! .\" $Header: /usr/local/dist/free-dist/howard/2/work/RCS/mfcopy.3,v 1.2 91/02/27 05:45:16 howard Exp $
! .TH MFCOPY "3 -lhoward" "$Revision: 1.2 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
mfcopy \- copy bytes from one stream to another
.SH SYNOPSIS
***************
*** 74,86 ****
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle,
! TN/ETX/T/BG,
! Ericsson Telecom AB,
! S-126 25 Stockholm,
! Sweden,
! howard at ericsson.se,
! uunet!ericsson.se!howard,
! Phone: +46 8 719 5565,
! FAX: +46 8 719 9598,
! Telex: 14910 ERIC S
--- 74,77 ----
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle
EOF
patch -c mk-cc-lims.b << 'EOF'
***************
*** 1,9 ****
# mk-cc-lims - make the cc-lims.i include file for this C compiler
#
! # $Header: mk-cc-lims.b,v 1.6 89/09/21 19:22:19 howard Exp $
#
! # Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
--- 1,9 ----
# mk-cc-lims - make the cc-lims.i include file for this C compiler
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/mk-cc-lims.b,v 1.7 91/02/27 10:00:07 howard Exp $
#
! # Copyright 1989, 1991 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
***************
*** 25,31 ****
CMDNAME=mk-cc-lims
export CMDNAME
! u='Usage: $CMDNAME c-compiler cc-lims.i'
if [ $# -ne 2 ]
then
echo "$u" 1>&2
--- 25,31 ----
CMDNAME=mk-cc-lims
export CMDNAME
! u="Usage: $CMDNAME c-compiler cc-lims.i"
if [ $# -ne 2 ]
then
echo "$u" 1>&2
***************
*** 36,42 ****
echo ' * cc-lims.i - C compiler limitations file' >> $2
echo ' *' >> $2
echo ' * This file was generated automatically by:' >> $2
! echo ' * $Header: mk-cc-lims.b,v 1.6 89/09/21 19:22:19 howard Exp $' >> $2
echo ' */' >> $2
echo '' >> $2
echo 'main(){extern TYPE x();x(0);}' > $t
--- 36,42 ----
echo ' * cc-lims.i - C compiler limitations file' >> $2
echo ' *' >> $2
echo ' * This file was generated automatically by:' >> $2
! echo ' * $Header: /usr/local/dist/free-dist/howard/2/work/RCS/mk-cc-lims.b,v 1.7 91/02/27 10:00:07 howard Exp $' >> $2
echo ' */' >> $2
echo '' >> $2
echo 'main(){extern TYPE x();x(0);}' > $t
EOF
patch -c mkCIncl.b << 'EOF'
***************
*** 1,9 ****
# mkCIncl - find include file dependencies of C source files
#
! # $Header: mkCIncl.b,v 1.3 89/09/21 19:22:21 howard Exp $
#
! # Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
--- 1,9 ----
# mkCIncl - find include file dependencies of C source files
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/mkCIncl.b,v 1.4 91/02/27 10:00:10 howard Exp $
#
! # Copyright 1989, 1991 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
***************
*** 26,32 ****
CMDNAME=mkCIncl
export CMDNAME
! u='Usage: $CMDNAME includes file.c ...'
if [ $# -lt 2 ]
then
echo "$u" 1>&2
--- 26,32 ----
CMDNAME=mkCIncl
export CMDNAME
! u="Usage: $CMDNAME includes file.c ..."
if [ $# -lt 2 ]
then
echo "$u" 1>&2
EOF
patch -c mkDistI.b << 'EOF'
***************
*** 1,9 ****
# mkDistI - install file from dist directory
#
! # $Header: mkDistI.b,v 1.4 89/09/21 19:22:24 howard Exp $
#
! # Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
--- 1,9 ----
# mkDistI - install file from dist directory
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/mkDistI.b,v 1.5 91/02/27 10:00:14 howard Exp $
#
! # Copyright 1989, 1991 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
***************
*** 23,29 ****
# u - usage string
CMDNAME=mkDistI
export CMDNAME
! u='Usage: $CMDNAME file dist-directory'
if [ $# -ne 2 ]
then
echo "$u" 1>&2
--- 23,29 ----
# u - usage string
CMDNAME=mkDistI
export CMDNAME
! u="Usage: $CMDNAME file dist-directory"
if [ $# -ne 2 ]
then
echo "$u" 1>&2
EOF
patch -c mkDistO.b << 'EOF'
***************
*** 1,9 ****
# mkDistO - place file in dist directory
#
! # $Header: mkDistO.b,v 1.3 89/09/21 19:22:26 howard Exp $
#
! # Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
--- 1,9 ----
# mkDistO - place file in dist directory
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/mkDistO.b,v 1.4 91/02/27 10:00:19 howard Exp $
#
! # Copyright 1989, 1991 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
***************
*** 24,30 ****
CMDNAME=mkDistO
export CMDNAME
! u='Usage: $CMDNAME file dist-directory'
if [ $# -ne 2 ]
then
echo "$u" 1>&2
--- 24,30 ----
CMDNAME=mkDistO
export CMDNAME
! u="Usage: $CMDNAME file dist-directory"
if [ $# -ne 2 ]
then
echo "$u" 1>&2
EOF
patch -c mkFreeze.b << 'EOF'
***************
*** 1,9 ****
# mkFreeze - make FREEZE.{date,i,major,minor,version}
#
! # $Header: mkFreeze.b,v 1.3 89/09/20 13:40:05 howard Exp $
#
! # Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
--- 1,9 ----
# mkFreeze - make FREEZE.{date,i,major,minor,version}
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/mkFreeze.b,v 1.4 91/02/27 09:30:37 howard Exp $
#
! # Copyright 1989, 1991 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
***************
*** 30,36 ****
echo "$u" 1>&2
exit 1
fi
! awk '/^.Header: FREEZE,v /{
print $3 > "FREEZE.version";
split ($3, t, ".");
print t[1] > "FREEZE.major";
--- 30,36 ----
echo "$u" 1>&2
exit 1
fi
! awk '/^.Header: .*FREEZE,v /{
print $3 > "FREEZE.version";
split ($3, t, ".");
print t[1] > "FREEZE.major";
EOF
patch -c mkInstF.b << 'EOF'
***************
*** 1,9 ****
# mkInstF - install a non-executable file or shell file
#
! # $Header: mkInstF.b,v 1.3 89/09/21 19:22:29 howard Exp $
#
! # Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
--- 1,9 ----
# mkInstF - install a non-executable file or shell file
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/mkInstF.b,v 1.4 91/02/27 09:43:53 howard Exp $
#
! # Copyright 1989, 1991 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
***************
*** 24,34 ****
CMDNAME=mkInstF
export CMDNAME
! u='Usage: $CMDNAME file directory'
if [ $# -ne 2 ]
then
echo "$u" 1>&2
exit 1
fi
! ln $1 $2/$1N
mv -f $2/$1N $2/$1
--- 24,40 ----
CMDNAME=mkInstF
export CMDNAME
! u="Usage: $CMDNAME file directory"
if [ $# -ne 2 ]
then
echo "$u" 1>&2
exit 1
fi
! if ln $1 $2/$1N
! then
! :
! else
! cp $1 $2/$1N
! chmod a-w $2/$1N
! fi
mv -f $2/$1N $2/$1
EOF
patch -c mkInstX.b << 'EOF'
***************
*** 1,9 ****
# mkInstX - install an executable file (not shell files)
#
! # $Header: mkInstX.b,v 1.3 89/09/21 19:22:32 howard Exp $
#
! # Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
--- 1,9 ----
# mkInstX - install an executable file (not shell files)
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/mkInstX.b,v 1.4 91/02/27 10:00:21 howard Exp $
#
! # Copyright 1989, 1991 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
***************
*** 24,30 ****
CMDNAME=mkInstX
export CMDNAME
! u='Usage: $CMDNAME file directory'
if [ $# -ne 2 ]
then
echo "$u" 1>&2
--- 24,30 ----
CMDNAME=mkInstX
export CMDNAME
! u="Usage: $CMDNAME file directory"
if [ $# -ne 2 ]
then
echo "$u" 1>&2
EOF
patch -c mkLibIncl.b << 'EOF'
***************
*** 1,9 ****
# mkLibIncl - find include file dependencies of C library functions
#
! # $Header: mkLibIncl.b,v 1.3 89/09/21 19:22:34 howard Exp $
#
! # Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
--- 1,9 ----
# mkLibIncl - find include file dependencies of C library functions
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/mkLibIncl.b,v 1.4 91/02/27 10:00:24 howard Exp $
#
! # Copyright 1989, 1991 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
***************
*** 26,32 ****
CMDNAME=mkLibIncl
export CMDNAME
! u='Usage: $CMDNAME includes file.c ...'
if [ $# -lt 2 ]
then
echo "$u" 1>&2
--- 26,32 ----
CMDNAME=mkLibIncl
export CMDNAME
! u="Usage: $CMDNAME includes file.c ..."
if [ $# -lt 2 ]
then
echo "$u" 1>&2
EOF
patch -c mkLibcLims.b << 'EOF'
***************
*** 1,9 ****
# mkLibcLims - make the libc-lims.i include file for this system
#
! # $Header: mkLibcLims.b,v 1.8 89/09/21 19:22:37 howard Exp $
#
! # Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
--- 1,9 ----
# mkLibcLims - make the libc-lims.i include file for this system
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/mkLibcLims.b,v 1.9 91/02/27 10:00:28 howard Exp $
#
! # Copyright 1989, 1991 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
***************
*** 26,32 ****
CMDNAME=mkLibcLims
export CMDNAME
! u='Usage: $CMDNAME libc-lims.i'
if [ $# -ne 1 ]
then
echo "$u" 1>&2
--- 26,32 ----
CMDNAME=mkLibcLims
export CMDNAME
! u="Usage: $CMDNAME libc-lims.i"
if [ $# -ne 1 ]
then
echo "$u" 1>&2
***************
*** 67,73 ****
echo ' * libc-lims.i - C library limitations file' >> $1
echo ' *' >> $1
echo ' * This file was generated automatically by:' >> $1
! echo ' * $Header: mkLibcLims.b,v 1.8 89/09/21 19:22:37 howard Exp $' >> $1
echo ' */' >> $1
echo '' >> $1
--- 67,73 ----
echo ' * libc-lims.i - C library limitations file' >> $1
echo ' *' >> $1
echo ' * This file was generated automatically by:' >> $1
! echo ' * $Header: /usr/local/dist/free-dist/howard/2/work/RCS/mkLibcLims.b,v 1.9 91/02/27 10:00:28 howard Exp $' >> $1
echo ' */' >> $1
echo '' >> $1
EOF
patch -c mkManPS.b << 'EOF'
***************
*** 1,9 ****
# mkManPS - format manual entry into PostScript
#
! # $Header: mkManPS.b,v 1.3 89/09/21 19:22:39 howard Exp $
#
! # Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
--- 1,9 ----
# mkManPS - format manual entry into PostScript
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/mkManPS.b,v 1.4 91/02/27 10:00:33 howard Exp $
#
! # Copyright 1989, 1991 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
***************
*** 25,31 ****
CMDNAME=mkManPS
export CMDNAME
! u='Usage: $CMDNAME troff-file'
if [ $# -ne 1 ]
then
echo "$u" 1>&2
--- 25,31 ----
CMDNAME=mkManPS
export CMDNAME
! u="Usage: $CMDNAME troff-file"
if [ $# -ne 1 ]
then
echo "$u" 1>&2
EOF
patch -c mkUncmprs.b << 'EOF'
***************
*** 1,9 ****
# mkUncmprs - uncompress RCS file if necessary and check out
#
! # $Header: mkUncmprs.b,v 1.3 89/09/21 19:22:42 howard Exp $
#
! # Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
--- 1,9 ----
# mkUncmprs - uncompress RCS file if necessary and check out
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/mkUncmprs.b,v 1.4 91/02/27 10:00:38 howard Exp $
#
! # Copyright 1989, 1991 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
***************
*** 24,30 ****
CMDNAME=mkUncmprs
export CMDNAME
! u='Usage: $CMDNAME target'
if [ $# -ne 1 ]
then
echo "$u" 1>&2
--- 24,30 ----
CMDNAME=mkUncmprs
export CMDNAME
! u="Usage: $CMDNAME target"
if [ $# -ne 1 ]
then
echo "$u" 1>&2
EOF
patch -c mopenp.3 << 'EOF'
***************
*** 1,5 ****
! .\" $Header: mopenp.3,v 1.1 89/08/13 16:20:15 howard Exp $
! .TH MOPENP "3 -lhoward" "$Revision: 1.1 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
mopenp \- search path for file and open it
.SH SYNOPSIS
--- 1,5 ----
! .\" $Header: /usr/local/dist/free-dist/howard/2/work/RCS/mopenp.3,v 1.2 91/02/27 05:45:20 howard Exp $
! .TH MOPENP "3 -lhoward" "$Revision: 1.2 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
mopenp \- search path for file and open it
.SH SYNOPSIS
***************
*** 82,94 ****
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle,
! TN/ETX/T/BG,
! Ericsson Telecom AB,
! S-126 25 Stockholm,
! Sweden,
! howard at ericsson.se,
! uunet!ericsson.se!howard,
! Phone: +46 8 719 5565,
! FAX: +46 8 719 9598,
! Telex: 14910 ERIC S
--- 82,85 ----
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle
EOF
patch -c msgfn.3 << 'EOF'
***************
*** 1,5 ****
! .\" $Header: msgfn.3,v 1.2 89/08/21 08:37:19 howard Exp $
! .TH MSGFN "3 -lhoward" "$Revision: 1.2 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
msgfn \- extract full name from mail message or news article header
.SH SYNOPSIS
--- 1,5 ----
! .\" $Header: /usr/local/dist/free-dist/howard/2/work/RCS/msgfn.3,v 1.3 91/02/27 05:45:24 howard Exp $
! .TH MSGFN "3 -lhoward" "$Revision: 1.3 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
msgfn \- extract full name from mail message or news article header
.SH SYNOPSIS
***************
*** 52,64 ****
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle,
! TN/ETX/T/BG,
! Ericsson Telecom AB,
! S-126 25 Stockholm,
! Sweden,
! howard at ericsson.se,
! uunet!ericsson.se!howard,
! Phone: +46 8 719 5565,
! FAX: +46 8 719 9598,
! Telex: 14910 ERIC S
--- 52,55 ----
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle
EOF
patch -c new-Make.b << 'EOF'
***************
*** 1,9 ****
# new-Make.b - create a new Makefile from a prototype
#
! # $Header: new-Make.b,v 1.2 89/09/23 15:24:04 howard Exp $
#
! # Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
--- 1,9 ----
# new-Make.b - create a new Makefile from a prototype
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/new-Make.b,v 1.5 91/03/05 14:20:59 howard Exp $
#
! # Copyright 1989, 1991 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
***************
*** 75,81 ****
LINT=lint
# Make shar files.
! SHAR=trshar shar
# Command options:
--- 75,81 ----
LINT=lint
# Make shar files.
! SHAR=makekit -s 45000
# Command options:
***************
*** 83,88 ****
--- 83,93 ----
# Set commands at start of Bourne shell files, usually absolute paths.
BDEFS=
+ # Bourne shell files must start with this to get the right
+ # command interpreter. ' ' (2 spaces) works on most hosts, but
+ # some need '#!/bin/sh'.
+ BINTERP=' '
+
# C compiler options.
CFLAGS=-O4
***************
*** 144,150 ****
src := $(BS) $(BIBS) $(CS) $(ELS) $(HS) $(LATEXS) $(ms)
# Absolutely all source files.
! allsrc := README LICENSE FREEZE MakeCommon Makefile uMakefile $(src)
# Targets and installs:
--- 149,155 ----
src := $(BS) $(BIBS) $(CS) $(ELS) $(HS) $(LATEXS) $(ms)
# Absolutely all source files.
! allsrc := README FREEZE MakeCommon Makefile uMakefile $(src)
# Targets and installs:
***************
*** 271,277 ****
ifdef BS
$(bt): %: %.b
$(RM) $@
! $(ECHO) ' $(BDEFS)' > $@
$(CAT) $< >> $@
$(CHMOD) +x $@
endif
--- 276,285 ----
ifdef BS
$(bt): %: %.b
$(RM) $@
! $(ECHO) '$(BINTERP)' > $@
! ifdef BDEFS
! $(ECHO) '$(BDEFS)' >> $@
! endif
$(CAT) $< >> $@
$(CHMOD) +x $@
endif
EOF
patch -c new-uMake.b << 'EOF'
***************
*** 1,7 ****
# new-uMake.b - create a new uMakefile from a prototype
#
! # $Header: new-uMake.b,v 1.1 89/09/21 18:14:52 howard Exp $
#
# Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
--- 1,7 ----
# new-uMake.b - create a new uMakefile from a prototype
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/new-uMake.b,v 1.2 91/02/27 08:13:54 howard Exp $
#
# Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
***************
*** 73,79 ****
$(UNCMPRS) $@
else # WORK
.DEFAULT:
! $(DISTI) $@ $(DISTDIR)
endif # WORK
.SUFFIXES:
--- 73,79 ----
$(UNCMPRS) $@
else # WORK
.DEFAULT:
! $(DISTI) $@ $(DD)
endif # WORK
.SUFFIXES:
EOF
patch -c new.1 << 'EOF'
***************
*** 1,7 ****
! .\" $Header: new.1,v 1.2 89/09/22 07:24:33 howard Exp $
! .TH NEW 1 "$Revision: 1.2 $"
.SH NAME
! new, new-Make, new-MakeC, new-1, new-3, new-b, new-bib, new-c, new-el, new-h, new-uMake \- create source files from prototypes
.SH SYNOPSIS
.B new
.I filename \&.\|.\|.
--- 1,7 ----
! .\" $Header: /usr/local/dist/free-dist/howard/2/work/RCS/new.1,v 1.4 91/02/27 09:01:09 howard Exp $
! .TH NEW 1 "$Revision: 1.4 $"
.SH NAME
! new, new-Make, new-MakeC, new-1, new-3, new-5, new-8, new-b, new-bib, new-c, new-el, new-h, new-uMake \- create source files from prototypes
.SH SYNOPSIS
.B new
.I filename \&.\|.\|.
***************
*** 9,15 ****
.B new-*
.I filename \&.\|.\|.
.SH COPYRIGHT
! Copyright \(co 1989 Howard Lee Gayle
.SH DESCRIPTION
.I new
creates each of its arguments, and initializes it with a
--- 9,15 ----
.B new-*
.I filename \&.\|.\|.
.SH COPYRIGHT
! Copyright \(co 1989, 1991 Howard Lee Gayle
.SH DESCRIPTION
.I new
creates each of its arguments, and initializes it with a
***************
*** 44,50 ****
.SH FILES
Here is my new.txt file:
.nf
! Copyright 1989 Howard Lee Gayle
This file is written in the ISO 8859/1 character set.
This program is free software; you can redistribute it and/or modify
--- 44,50 ----
.SH FILES
Here is my new.txt file:
.nf
! Copyright 1991 Howard Lee Gayle
This file is written in the ISO 8859/1 character set.
This program is free software; you can redistribute it and/or modify
***************
*** 65,71 ****
Here is my new-[1-8].cprt file:
.nf
.SH COPYRIGHT
! Copyright \e(co 1989 Howard Lee Gayle
.fi
.PP
Here is my new-[1-8].txt file:
--- 65,71 ----
Here is my new-[1-8].cprt file:
.nf
.SH COPYRIGHT
! Copyright \e(co 1991 Howard Lee Gayle
.fi
.PP
Here is my new-[1-8].txt file:
***************
*** 84,105 ****
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle,
! TN/ETX/T/BG,
! Ericsson Telecom AB,
! S-126 25 Stockholm,
! Sweden,
! howard at ericsson.se,
! uunet!ericsson.se!howard,
! Phone: +46 8 719 5565,
! FAX: +46 8 719 9598,
! Telex: 14910 ERIC S
.fi
.PP
Here is my new-c.txt file:
.nf
#ifndef lint
! static char _cpyrgt[] = "Copyright 1989 Howard Lee Gayle";
#endif lint
/*
--- 84,96 ----
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle
.fi
.PP
Here is my new-c.txt file:
.nf
#ifndef lint
! static char _cpyrgt[] = "Copyright 1991 Howard Lee Gayle";
#endif lint
/*
***************
*** 132,144 ****
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle,
! TN/ETX/T/BG,
! Ericsson Telecom AB,
! S-126 25 Stockholm,
! Sweden,
! howard at ericsson.se,
! uunet!ericsson.se!howard,
! Phone: +46 8 719 5565,
! FAX: +46 8 719 9598,
! Telex: 14910 ERIC S
--- 123,126 ----
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle
EOF
patch -c new.b << 'EOF'
***************
*** 1,9 ****
# new.b - create a new source file from a prototype
#
! # $Header: new.b,v 1.1 89/09/21 08:00:39 howard Exp $
#
! # Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
--- 1,9 ----
# new.b - create a new source file from a prototype
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/new.b,v 1.2 91/02/27 08:35:28 howard Exp $
#
! # Copyright 1989, 1991 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
***************
*** 46,52 ****
s=`basename "$f" | sed -e 's;^..*\.;;'`
new-"$s" "$f"
;;
! *) echo "$CMDNAME: $f: no suffix" 1>&2
esac
fi
done
--- 46,52 ----
s=`basename "$f" | sed -e 's;^..*\.;;'`
new-"$s" "$f"
;;
! *) echo "$CMDNAME: $f: no suffix" 1>&2 ;;
esac
fi
done
EOF
patch -c port.h << 'EOF'
***************
*** 1,8 ****
/* port.h - Common definitions for portability.
*
! * Copyright 1989 Howard Lee Gayle
*
! * $Header: port.h,v 1.30 89/08/29 08:52:40 howard Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 1,
--- 1,8 ----
/* port.h - Common definitions for portability.
*
! * Copyright 1989, 1991 Howard Lee Gayle
*
! * $Header: /usr/local/dist/free-dist/howard/2/work/RCS/port.h,v 1.31 91/02/27 07:45:35 howard Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 1,
***************
*** 95,100 ****
--- 95,102 ----
#define DIG2INT(d) ((int) ((d) - '0')) /* Character of digit to int.*/
/* Macros to make lint quieter:*/
+ #define ALARM(s) (void) alarm (s)
+ #define CLOSE(f) (void) close (f)
#define FFLUSH(s) (void) fflush (s)
#define FPRINTF (void) fprintf
#define FPUTS(s,f) (void) fputs(s,f)
EOF
patch -c prefix.3 << 'EOF'
***************
*** 1,5 ****
! .\" $Header: prefix.3,v 1.4 89/08/19 10:38:38 howard Exp $
! .TH PREFIX "3 -lhoward" "$Revision: 1.4 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
prefix, prefxi \- test if one string is prefix of another
.SH SYNOPSIS
--- 1,5 ----
! .\" $Header: /usr/local/dist/free-dist/howard/2/work/RCS/prefix.3,v 1.5 91/02/27 05:45:30 howard Exp $
! .TH PREFIX "3 -lhoward" "$Revision: 1.5 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
prefix, prefxi \- test if one string is prefix of another
.SH SYNOPSIS
***************
*** 68,80 ****
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle,
! TN/ETX/T/BG,
! Ericsson Telecom AB,
! S-126 25 Stockholm,
! Sweden,
! howard at ericsson.se,
! uunet!ericsson.se!howard,
! Phone: +46 8 719 5565,
! FAX: +46 8 719 9598,
! Telex: 14910 ERIC S
--- 68,71 ----
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle
EOF
patch -c putspn.3 << 'EOF'
***************
*** 1,5 ****
! .\" @(#)$Header: putspn.3,v 1.9 89/08/14 09:07:40 howard Exp $
! .TH PUTSPN "3 -lhoward" "$Revision: 1.9 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
putspn \- write program name on standard error
.SH SYNOPSIS
--- 1,5 ----
! .\" @(#)$Header: /usr/local/dist/free-dist/howard/2/work/RCS/putspn.3,v 1.10 91/02/27 05:45:34 howard Exp $
! .TH PUTSPN "3 -lhoward" "$Revision: 1.10 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
putspn \- write program name on standard error
.SH SYNOPSIS
***************
*** 54,68 ****
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle,
! TN/ETX/T/BG,
! Ericsson Telecom AB,
! S-126 25 Stockholm,
! Sweden,
! howard at ericsson.se,
! uunet!ericsson.se!howard,
! Phone: +46 8 719 5565,
! FAX: +46 8 719 9598,
! Telex: 14910 ERIC S
.PP
The idea for CMDNAME comes from C news, but all code is original.
--- 54,59 ----
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle
.PP
The idea for CMDNAME comes from C news, but all code is original.
EOF
patch -c qrndu.3 << 'EOF'
***************
*** 1,5 ****
! .\" $Header: qrndu.3,v 1.1 89/08/14 10:46:02 howard Exp $
! .TH QRNDU "3 -lhoward" "$Revision: 1.1 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
qrndr, qrnds, qrndu \- uniformly distributed quasi-random numbers in given range
.SH SYNOPSIS
--- 1,5 ----
! .\" $Header: /usr/local/dist/free-dist/howard/2/work/RCS/qrndu.3,v 1.2 91/02/27 05:45:38 howard Exp $
! .TH QRNDU "3 -lhoward" "$Revision: 1.2 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
qrndr, qrnds, qrndu \- uniformly distributed quasi-random numbers in given range
.SH SYNOPSIS
***************
*** 84,96 ****
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle,
! TN/ETX/T/BG,
! Ericsson Telecom AB,
! S-126 25 Stockholm,
! Sweden,
! howard at ericsson.se,
! uunet!ericsson.se!howard,
! Phone: +46 8 719 5565,
! FAX: +46 8 719 9598,
! Telex: 14910 ERIC S
--- 84,87 ----
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle
EOF
patch -c smp.3 << 'EOF'
***************
*** 1,5 ****
! .\" $Header: smp.3,v 1.3 89/08/15 14:53:10 howard Exp $
! .TH SMP "3 -lhoward" "$Revision: 1.3 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
a2smp, mk-smp, smp2l, smp2u, smp2ul, smpdig, smpdtl \- simple multiple precision system
.SH SYNOPSIS
--- 1,5 ----
! .\" $Header: /usr/local/dist/free-dist/howard/2/work/RCS/smp.3,v 1.4 91/02/27 05:45:42 howard Exp $
! .TH SMP "3 -lhoward" "$Revision: 1.4 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
a2smp, mk-smp, smp2l, smp2u, smp2ul, smpdig, smpdtl \- simple multiple precision system
.SH SYNOPSIS
***************
*** 143,155 ****
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle,
! TN/ETX/T/BG,
! Ericsson Telecom AB,
! S-126 25 Stockholm,
! Sweden,
! howard at ericsson.se,
! uunet!ericsson.se!howard,
! Phone: +46 8 719 5565,
! FAX: +46 8 719 9598,
! Telex: 14910 ERIC S
--- 143,146 ----
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle
EOF
patch -c strend.3 << 'EOF'
***************
*** 1,5 ****
! .\" $Header: strend.3,v 1.6 89/08/14 09:31:24 howard Exp $
! .TH STREND "3 -lhoward" "$Revision: 1.6 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
strend \- return pointer to NUL at end of string
.SH SYNOPSIS
--- 1,5 ----
! .\" $Header: /usr/local/dist/free-dist/howard/2/work/RCS/strend.3,v 1.7 91/02/27 05:45:47 howard Exp $
! .TH STREND "3 -lhoward" "$Revision: 1.7 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
strend \- return pointer to NUL at end of string
.SH SYNOPSIS
***************
*** 43,57 ****
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle,
! TN/ETX/T/BG,
! Ericsson Telecom AB,
! S-126 25 Stockholm,
! Sweden,
! howard at ericsson.se,
! uunet!ericsson.se!howard,
! Phone: +46 8 719 5565,
! FAX: +46 8 719 9598,
! Telex: 14910 ERIC S
.PP
The idea comes from PWB, but all code is original.
--- 43,48 ----
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle
.PP
The idea comes from PWB, but all code is original.
EOF
patch -c uMakefile << 'EOF'
***************
*** 1,8 ****
# uMakefile - micro GNU make file for howard
#
! # $Header: uMakefile,v 1.12 89/09/22 13:46:53 howard Exp $
#
! # Copyright 1989 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
--- 1,8 ----
# uMakefile - micro GNU make file for howard
#
! # $Header: /usr/local/dist/free-dist/howard/2/work/RCS/uMakefile,v 1.13 91/02/27 09:17:28 howard Exp $
#
! # Copyright 1989, 1991 Howard Lee Gayle
# This file is written in the ISO 8859/1 character set.
#
# This program is free software; you can redistribute it and/or modify
***************
*** 75,82 ****
$(bt): %: %.b
$(RM) $@
ifdef BDEFS
! $(ECHO) ' $(BDEFS)' > $@
endif
$(CAT) $< >> $@
$(CHMOD) +x $@
--- 75,83 ----
$(bt): %: %.b
$(RM) $@
+ $(ECHO) '$(BINTERP)' > $@
ifdef BDEFS
! $(ECHO) '$(BDEFS)' >> $@
endif
$(CAT) $< >> $@
$(CHMOD) +x $@
EOF
patch -c unix-lt.tex << 'EOF'
***************
*** 3,9 ****
% Copyright 1989 Howard Lee Gayle
% This file is written in the ISO 8859/1 character set.
%
! % $Header: unix-lt.tex,v 1.1 89/08/28 19:15:46 howard Exp $
%
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License version 1,
--- 3,9 ----
% Copyright 1989 Howard Lee Gayle
% This file is written in the ISO 8859/1 character set.
%
! % $Header: /usr/local/dist/free-dist/howard/2/work/RCS/unix-lt.tex,v 1.2 91/04/03 13:02:12 howard Exp $
%
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License version 1,
***************
*** 19,25 ****
% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
\def \hgUNIX {UNIX}
\def \hgUNIXFootnote {\hgUNIX \footnote
! {\hgUNIX\ is a registered trademark of AT\&T Bell
! Laboratories in many countries.}}
\def \hgFirstUNIX {\hgUNIXFootnote \global \let \UNIX = \hgUNIX}
\let \UNIX = \hgFirstUNIX
--- 19,24 ----
% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
\def \hgUNIX {UNIX}
\def \hgUNIXFootnote {\hgUNIX \footnote
! {\hgUNIX\ is a registered trademark of UNIX System Laboratories, Inc.}}
\def \hgFirstUNIX {\hgUNIXFootnote \global \let \UNIX = \hgUNIX}
\let \UNIX = \hgFirstUNIX
EOF
patch -c usage.3 << 'EOF'
***************
*** 1,5 ****
! .\" @(#)$Header: usage.3,v 1.5 89/08/14 09:23:24 howard Exp $
! .TH USAGE "3 -lhoward" "$Revision: 1.5 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
usage \- write usage message on standard error and exit
.SH SYNOPSIS
--- 1,5 ----
! .\" @(#)$Header: /usr/local/dist/free-dist/howard/2/work/RCS/usage.3,v 1.6 91/02/27 05:45:51 howard Exp $
! .TH USAGE "3 -lhoward" "$Revision: 1.6 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
usage \- write usage message on standard error and exit
.SH SYNOPSIS
***************
*** 25,31 ****
.SH EXAMPLE
The following example shows use with rcs.
.nf
! MAINVER ("@(#)$Header: usage.3,v 1.5 89/08/14 09:23:24 howard Exp $");
USAGE ("[-a] [-b] file...");
\&.
\&.
--- 25,31 ----
.SH EXAMPLE
The following example shows use with rcs.
.nf
! MAINVER ("@(#)$Header: /usr/local/dist/free-dist/howard/2/work/RCS/usage.3,v 1.6 91/02/27 05:45:51 howard Exp $");
USAGE ("[-a] [-b] file...");
\&.
\&.
***************
*** 52,64 ****
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle,
! TN/ETX/T/BG,
! Ericsson Telecom AB,
! S-126 25 Stockholm,
! Sweden,
! howard at ericsson.se,
! uunet!ericsson.se!howard,
! Phone: +46 8 719 5565,
! FAX: +46 8 719 9598,
! Telex: 14910 ERIC S
--- 52,55 ----
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle
EOF
patch -c userfn.3 << 'EOF'
***************
*** 1,5 ****
! .\" $Header: userfn.3,v 1.1 89/08/20 11:39:55 howard Exp $
! .TH USERFN "3 -lhoward" "$Revision: 1.1 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
userfn \- copy full name of user
.SH SYNOPSIS
--- 1,5 ----
! .\" $Header: /usr/local/dist/free-dist/howard/2/work/RCS/userfn.3,v 1.2 91/02/27 05:45:55 howard Exp $
! .TH USERFN "3 -lhoward" "$Revision: 1.2 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
userfn \- copy full name of user
.SH SYNOPSIS
***************
*** 53,65 ****
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle,
! TN/ETX/T/BG,
! Ericsson Telecom AB,
! S-126 25 Stockholm,
! Sweden,
! howard at ericsson.se,
! uunet!ericsson.se!howard,
! Phone: +46 8 719 5565,
! FAX: +46 8 719 9598,
! Telex: 14910 ERIC S
--- 53,56 ----
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle
EOF
patch -c yrwk.3 << 'EOF'
***************
*** 1,5 ****
! .\" $Header: yrwk.3,v 1.2 89/08/14 10:09:58 howard Exp $
! .TH YRWK "3 -lhoward" "$Revision: 1.2 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
yrwk \- compute year and ISO week from struct tm
.SH SYNOPSIS
--- 1,5 ----
! .\" $Header: /usr/local/dist/free-dist/howard/2/work/RCS/yrwk.3,v 1.3 91/02/27 05:43:25 howard Exp $
! .TH YRWK "3 -lhoward" "$Revision: 1.3 $" "Howard\'s C library" "Howard\'s C library"
.SH NAME
yrwk \- compute year and ISO week from struct tm
.SH SYNOPSIS
***************
*** 69,81 ****
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle,
! TN/ETX/T/BG,
! Ericsson Telecom AB,
! S-126 25 Stockholm,
! Sweden,
! howard at ericsson.se,
! uunet!ericsson.se!howard,
! Phone: +46 8 719 5565,
! FAX: +46 8 719 9598,
! Telex: 14910 ERIC S
--- 69,72 ----
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.SH AUTHOR
! Howard Gayle
EOF
echo 'End of shell patch script.'
exit 0 # Just in case...
--
Kent Landfield INTERNET: kent at sparky.IMD.Sterling.COM
Sterling Software, IMD UUCP: uunet!sparky!kent
Phone: (402) 291-8300 FAX: (402) 291-4362
Please send comp.sources.misc-related mail to kent at uunet.uu.net.
More information about the Comp.sources.misc
mailing list