home *** CD-ROM | disk | FTP | other *** search
- From: berg@pool.informatik.rwth-aachen.de (Stephen R. van den Berg)
- Newsgroups: comp.sources.misc
- Subject: v43i065: procmail - mail processing package v3.03, Part10/10
- Date: 5 Jul 1994 20:50:34 -0500
- Organization: Sterling Software
- Sender: kent@sparky.sterling.com
- Approved: kent@sparky.sterling.com
- Message-ID: <2vd2la$igb@sparky.sterling.com>
- X-Md4-Signature: 50ef9592f6f7ee106adbdde0ef2fe0ab
-
- Submitted-by: berg@pool.informatik.rwth-aachen.de (Stephen R. van den Berg)
- Posting-number: Volume 43, Issue 65
- Archive-name: procmail/part10
- Environment: sendmail, ZMailer, smail, MMDF, mailsurr, UNIX, POSIX
- Supersedes: procmail: Volume 38, Issue 19-31
-
- #! /bin/sh
- # This is a shell archive. Remove anything before this line, then feed it
- # into a shell via "sh file" or similar. To overwrite existing files,
- # type "sh file -c".
- # Contents: procmail-3.03/examples/1procmailrc
- # procmail-3.03/examples/1rmail procmail-3.03/examples/2rmail
- # procmail-3.03/examples/3procmailrc procmail-3.03/examples/3rmail
- # procmail-3.03/examples/dirname procmail-3.03/examples/forward
- # procmail-3.03/man/Makefile procmail-3.03/man/Makefile.0
- # procmail-3.03/man/README procmail-3.03/man/mansed
- # procmail-3.03/patchlevel.h procmail-3.03/src/Makefile
- # procmail-3.03/src/acommon.c procmail-3.03/src/acommon.h
- # procmail-3.03/src/common.h procmail-3.03/src/cstdio.h
- # procmail-3.03/src/ecommon.h procmail-3.03/src/exopen.h
- # procmail-3.03/src/fields.h procmail-3.03/src/formail.h
- # procmail-3.03/src/formisc.h procmail-3.03/src/goodies.h
- # procmail-3.03/src/locking.h procmail-3.03/src/mcommon.c
- # procmail-3.03/src/mcommon.h procmail-3.03/src/network.h
- # procmail-3.03/src/pipes.h procmail-3.03/src/regexp.h
- # procmail-3.03/src/robust.h procmail-3.03/src/shell.h
- # procmail-3.03/src/sublib.h
- # Wrapped by kent@sparky on Tue Jul 5 20:42:16 1994
- PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/lbin:$PATH ; export PATH
- echo If this archive is complete, you will see the following message:
- echo ' "shar: End of archive 10 (of 10)."'
- if test -f 'procmail-3.03/examples/1procmailrc' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/examples/1procmailrc'\"
- else
- echo shar: Extracting \"'procmail-3.03/examples/1procmailrc'\" \(644 characters\)
- sed "s/^X//" >'procmail-3.03/examples/1procmailrc' <<'END_OF_FILE'
- X# Please check if all the paths in PATH are reachable, remove the ones that
- X# are not.
- X
- XPATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
- XMAILDIR=$HOME/Mail # You'd better make sure it exists
- XDEFAULT=$MAILDIR/mbox
- XLOGFILE=$MAILDIR/from
- XLOCKFILE=$HOME/.lockmail
- X
- X:0 # Anything from thf
- X* ^From.*thf@somewhere.someplace
- Xtodd # will go to $MAILDIR/todd
- X
- X:0 # Anything from people at uunet
- X* ^From.*@uunet
- Xuunetbox # will go to $MAILDIR/uunetbox
- X
- X:0 # Anything from Henry
- X* ^From.*henry
- Xhenries # will go to $MAILDIR/henries
- X
- X# Anything that has not been delivered by now will go to $DEFAULT
- X# using LOCKFILE=$DEFAULT$LOCKEXT
- END_OF_FILE
- if test 644 -ne `wc -c <'procmail-3.03/examples/1procmailrc'`; then
- echo shar: \"'procmail-3.03/examples/1procmailrc'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/examples/1procmailrc'
- fi
- if test -f 'procmail-3.03/examples/1rmail' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/examples/1rmail'\"
- else
- echo shar: Extracting \"'procmail-3.03/examples/1rmail'\" \(400 characters\)
- sed "s/^X//" >'procmail-3.03/examples/1rmail' <<'END_OF_FILE'
- X#!/bin/sh
- X#
- X# specify the mailbox file you want to read on the command line
- X#
- XMAILDIR=$HOME/Mail
- Xcd $MAILDIR
- XLOCKFILE=$HOME/.lockmail
- Xif lockfile -! -r1 $LOCKFILE
- Xthen
- X echo Mail is currently arriving, please wait...
- X while
- X lockfile -! -4 -r2 $LOCKFILE
- X do
- X echo Mail is still arriving...
- X done
- Xfi
- Xtrap "rm -f $LOCKFILE;exit 0" 0 1 2 3 15
- X#
- X# Call you favourite mailer here.
- X#
- X/usr/ucb/mail -f $*
- END_OF_FILE
- if test 400 -ne `wc -c <'procmail-3.03/examples/1rmail'`; then
- echo shar: \"'procmail-3.03/examples/1rmail'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/examples/1rmail'
- fi
- if test -f 'procmail-3.03/examples/2rmail' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/examples/2rmail'\"
- else
- echo shar: Extracting \"'procmail-3.03/examples/2rmail'\" \(392 characters\)
- sed "s/^X//" >'procmail-3.03/examples/2rmail' <<'END_OF_FILE'
- X#!/bin/sh
- X#
- X# specify the mailbox file you want to read on the command line
- X#
- XMAILDIR=$HOME/Mail
- Xcd $MAILDIR
- XLOCKFILE=$1.lock
- Xif lockfile -! -r1 $LOCKFILE
- Xthen
- X echo Mail is currently arriving, please wait...
- X while
- X lockfile -! -4 -r2 $LOCKFILE
- X do
- X echo Mail is still arriving...
- X done
- Xfi
- Xtrap "rm -f $LOCKFILE;exit 0" 0 1 2 3 15
- X#
- X# Call you favourite mailer here.
- X#
- X/usr/ucb/mail -f $*
- END_OF_FILE
- if test 392 -ne `wc -c <'procmail-3.03/examples/2rmail'`; then
- echo shar: \"'procmail-3.03/examples/2rmail'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/examples/2rmail'
- fi
- if test -f 'procmail-3.03/examples/3procmailrc' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/examples/3procmailrc'\"
- else
- echo shar: Extracting \"'procmail-3.03/examples/3procmailrc'\" \(1533 characters\)
- sed "s/^X//" >'procmail-3.03/examples/3procmailrc' <<'END_OF_FILE'
- X# Please check if all the paths in PATH are reachable, remove the ones that
- X# are not.
- X
- XPATH=$HOME/bin:/usr/bin:/global/bin:/usr/ucb:/bin:/usr/local/bin:
- XMAILDIR = $HOME/Mail # You'd better make sure it exists
- XDEFAULT = $MAILDIR/mbox
- XLOGFILE = $MAILDIR/from
- XLOCKFILE= $HOME/.lockmail
- X
- X # This will create a local lockfile named todd.lock
- X:0: # *if* the condition matches
- X* ^From.*thf
- Xtodd
- X
- XLOCKFILE=$MAILDIR/whatever # This will remove the global lockfile
- X # $HOME/.lockmail and the new lockfile
- X # will be $MAILDIR/whatever
- X
- X
- X # The next recipe will
- X # filter out all messages from "at"
- X # jobs and will put them in a terse format
- X # (only the date and the body) in
- X # a file called $MAILDIR/atjunk
- X:0 fh
- X* ^From root
- X* ^Subject: Output from "at" job
- X|egrep "^Date:"
- X # The next recipe will only be used if
- X # the previous one matched
- X:0 A
- Xatjunk
- X
- X
- X
- XMAILDIR=$HOME/News # This will change the current directory
- X
- X
- X # The next recipe will create a local lockfile
- X # named $HOME/News/dustbin.lock (*if* the condition
- X # matches), and will feed the body of the message
- X # through `sort` (sorry, couldn't come up with anything
- X # better :-), after which the result will be
- X # appended to $HOME/News/dustbin
- X:0 b:
- X* ^Subject:.*rubbish
- X|sort >>dustbin
- X
- X # The next recipe will use the games directory as a MH
- X # folder (of course you need MH to read the mail then)
- X:0
- X* ^Subject:.*games
- Xgames/.
- X
- X# Anything not delivered by now will go to $HOME/Mail/mbox
- X# Using LOCKFILE=$HOME/Mail/mbox.lock
- END_OF_FILE
- if test 1533 -ne `wc -c <'procmail-3.03/examples/3procmailrc'`; then
- echo shar: \"'procmail-3.03/examples/3procmailrc'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/examples/3procmailrc'
- fi
- if test -f 'procmail-3.03/examples/3rmail' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/examples/3rmail'\"
- else
- echo shar: Extracting \"'procmail-3.03/examples/3rmail'\" \(757 characters\)
- sed "s/^X//" >'procmail-3.03/examples/3rmail' <<'END_OF_FILE'
- X#!/bin/sh
- X#
- X# specify the mailbox file you want to read on the command line
- X# Use a relative path from your $HOME directory
- X#
- X# For this kind of chaotic procmailrc there is no uniform neat solution
- X# to determine which lockfiles to use. I'll give just one (suboptimal)
- X# solution here. Use your imagination to extend it :-).
- X#
- XMAILDIR=$HOME/Mail
- Xcd $HOME # this means all paths are relative to $HOME
- XLOCKFILE=$HOME/.lockmail
- XLOCKFILE2=$HOME/Mail/whatever
- Xif lockfile -! -r1 $LOCKFILE $LOCKFILE2
- Xthen
- X echo Mail is currently arriving, please wait...
- X while
- X lockfile -! -4 -r2 $LOCKFILE $LOCKFILE2
- X do
- X echo Mail is still arriving...
- X done
- Xfi
- Xtrap "rm -f $LOCKFILE $LOCKFILE2;exit 0" 0 1 2 3 15
- X#
- X# Call you favourite mailer here.
- X#
- X/usr/ucb/mail -f $*
- END_OF_FILE
- if test 757 -ne `wc -c <'procmail-3.03/examples/3rmail'`; then
- echo shar: \"'procmail-3.03/examples/3rmail'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/examples/3rmail'
- fi
- if test -f 'procmail-3.03/examples/dirname' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/examples/dirname'\"
- else
- echo shar: Extracting \"'procmail-3.03/examples/dirname'\" \(537 characters\)
- sed "s/^X//" >'procmail-3.03/examples/dirname' <<'END_OF_FILE'
- X#! /bin/sh
- X: &&O='cd .' || exec /bin/sh "$0" $argv:q # we're in a csh, feed myself to sh
- X$O || exec /bin/sh "$0" "$@" # we're in a buggy zsh
- X#########################################################################
- X# dirname A substitute, for the deprived #
- X# #
- X# Created by S.R. van den Berg, The Netherlands #
- X#########################################################################
- X#$Id: dirname,v 1.3 1994/05/26 14:11:52 berg Exp $
- X
- Xt=`expr "$1" : "\(.*/\)[^/]*$"`
- X
- Xif test -z "$t"
- Xthen
- X echo .
- Xelse
- X echo "$t"
- Xfi
- END_OF_FILE
- if test 537 -ne `wc -c <'procmail-3.03/examples/dirname'`; then
- echo shar: \"'procmail-3.03/examples/dirname'\" unpacked with wrong size!
- fi
- chmod +x 'procmail-3.03/examples/dirname'
- # end of 'procmail-3.03/examples/dirname'
- fi
- if test -f 'procmail-3.03/examples/forward' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/examples/forward'\"
- else
- echo shar: Extracting \"'procmail-3.03/examples/forward'\" \(61 characters\)
- sed "s/^X//" >'procmail-3.03/examples/forward' <<'END_OF_FILE'
- X"|IFS=' ';exec /usr/local/bin/procmail -f- #YOUR_LOGIN_NAME"
- END_OF_FILE
- if test 61 -ne `wc -c <'procmail-3.03/examples/forward'`; then
- echo shar: \"'procmail-3.03/examples/forward'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/examples/forward'
- fi
- if test -f 'procmail-3.03/man/Makefile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/man/Makefile'\"
- else
- echo shar: Extracting \"'procmail-3.03/man/Makefile'\" \(354 characters\)
- sed "s/^X//" >'procmail-3.03/man/Makefile' <<'END_OF_FILE'
- X#$Id: Makefile,v 1.6 1994/05/26 14:11:57 berg Exp $
- X
- XHIDEMAKE=$(MAKE)
- X
- Xall: init
- X $(HIDEMAKE) make $@
- X
- X# The only real thing that can be made right now is:
- X
- Xinit:
- X cd ..; $(MAKE) make init
- X
- X.PRECIOUS: Makefile
- X
- XMakefile makefile Makefiles makefiles: init
- X
- Xprocmail.1 procmailrc.5 procmailsc.5 procmailex.5 lockfile.1 formail.1: init
- X $(HIDEMAKE) make $@
- END_OF_FILE
- if test 354 -ne `wc -c <'procmail-3.03/man/Makefile'`; then
- echo shar: \"'procmail-3.03/man/Makefile'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/man/Makefile'
- fi
- if test -f 'procmail-3.03/man/Makefile.0' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/man/Makefile.0'\"
- else
- echo shar: Extracting \"'procmail-3.03/man/Makefile.0'\" \(560 characters\)
- sed "s/^X//" >'procmail-3.03/man/Makefile.0' <<'END_OF_FILE'
- X
- X#$Id: Makefile.0,v 1.8 1994/05/26 14:11:59 berg Exp $
- X
- Xall: $(MANSS)
- X
- Xmake:
- X @$(SHELL) -c "exit 0"
- X
- X.PRECIOUS: Makefile
- X
- X../config.check:
- X @cd ..; $(MAKE) config.check
- X
- Xman.sed: man_sed
- X
- Xman_sed:
- X @cd ../src; $(MAKE) ../man/man.sed
- X
- Xclean:
- X $(RM) $(MANSS) man.sed* _Makefile core
- X
- XMakefile: ../Makefile Makefile.0
- X @echo "You have made changes to the master Makefile, in order for"
- X @echo "these changes to show through, you will first have to do:"
- X @echo "$(MAKE) makefiles"
- X
- Xmakefiles Makefiles makefile:
- X cd ..; $(MAKE) makefiles
- X
- Xinit:
- X cd ..; $(MAKE) $@
- END_OF_FILE
- if test 560 -ne `wc -c <'procmail-3.03/man/Makefile.0'`; then
- echo shar: \"'procmail-3.03/man/Makefile.0'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/man/Makefile.0'
- fi
- if test -f 'procmail-3.03/man/README' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/man/README'\"
- else
- echo shar: Extracting \"'procmail-3.03/man/README'\" \(428 characters\)
- sed "s/^X//" >'procmail-3.03/man/README' <<'END_OF_FILE'
- XPlease note that the *.man files in this directory still need to be converted
- Xinto their *.1 and *.5 counterparts. You can convert them by typing "make" in
- Xthis directory or in the directory above.
- X
- XThe man pages *.1 and *.5 can then be displayed as readable plain text
- Xby typing something like this:
- X
- X nroff -man procmail.1
- X
- Xor they can be moved to man directories in your MANPATH to be be viewed with
- Xthe normal man command.
- END_OF_FILE
- if test 428 -ne `wc -c <'procmail-3.03/man/README'`; then
- echo shar: \"'procmail-3.03/man/README'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/man/README'
- fi
- if test -f 'procmail-3.03/man/mansed' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/man/mansed'\"
- else
- echo shar: Extracting \"'procmail-3.03/man/mansed'\" \(1512 characters\)
- sed "s/^X//" >'procmail-3.03/man/mansed' <<'END_OF_FILE'
- X#! /bin/sh
- X:
- X#$Id: mansed,v 1.21 1994/05/26 14:12:03 berg Exp $
- X
- Xif test -z "$IFS"
- Xthen IFS=" \
- X \
- X
- X"
- X export IFS
- Xfi
- X
- Xtest 5 != $# &&
- X echo "Don't start this script directly, use \`make'" && exit 1
- X
- XSHELL=$1
- XSRC="$2"
- XDEST="$3"
- XRM="$4"
- XDEVNULL=$5
- Xexport SHELL SRC DEST RM DEVNULL
- X
- Xif test ! -f "$DEST"
- Xthen
- X trap "$RM \"$DEST\";exit 1" 1 2 3 15
- Xfi
- X
- X(cat <<\HERE
- X.\"if n .pl +(135i-\n(.pu)
- X.de Id
- X.ds Rv \\$3
- X.ds Dt \\$4
- X..
- X.rn SH Sh
- X.de SH
- X.br
- X.ne 11
- X.Sh "\\$1"
- X..
- X.rn SS Ss
- X.de SS
- X.br
- X.ne 10
- X.Ss "\\$1"
- X..
- X.rn TP Tp
- X.de TP
- X.br
- X.ne 9
- X.Tp \\$1
- X..
- X.rn RS Rs
- X.de RS
- X.na
- X.nf
- X.Rs
- X..
- X.rn RE Re
- X.de RE
- X.Re
- X.fi
- X.ad
- X..
- X.de Sx
- X.PP
- X.ne \\$1
- X.RS
- X..
- X.de Ex
- X.RE
- X.PP
- X..
- X.ex
- XHERE
- Xcat "$SRC"
- Xexpr "X$DEST" : '.*[18]$' >$DEVNULL && cat <<HERE
- X.Sh SOURCE
- XThis program is part of the
- X.I procmail mail-processing-package
- X(@PM_VERSION@) available at your nearest USENET comp.sources.misc archive, or
- Xat ftp.informatik.rwth-aachen.de as
- X.BR pub/packages/procmail/procmail.tar.gz .
- X.Sh MAILINGLIST
- XThere exists a mailinglist for questions relating to any program in the
- Xprocmail package:
- X.RS
- X@PM_MAILINGLIST@
- X.RS
- Xfor submitting questions/answers.
- X.RE
- X@PM_MAILINGLISTR@
- X.RS
- Xfor subscription requests.
- X.RE
- X.RE
- XHERE
- Xcat <<HERE
- X.Sh AUTHOR
- XStephen R. van den Berg at RWTH-Aachen, Germany
- X.Rs
- X@MY_MAIL_ADDR@
- X.\" @MY_ALT_MAIL_ADDR@
- X.Re
- X.\".if n .pl -(\n(.tu-1i)
- XHERE
- X )| sed -f man.sed |
- X if test -f man.sed.1
- X then
- X sed -f man.sed.0 | sed -f man.sed.1
- X else
- X sed -f man.sed.0
- X fi >"$DEST"
- X
- Xif test -f "$DEST"
- Xthen
- X exit 0
- Xelse
- X exit 1
- Xfi
- END_OF_FILE
- if test 1512 -ne `wc -c <'procmail-3.03/man/mansed'`; then
- echo shar: \"'procmail-3.03/man/mansed'\" unpacked with wrong size!
- fi
- chmod +x 'procmail-3.03/man/mansed'
- # end of 'procmail-3.03/man/mansed'
- fi
- if test -f 'procmail-3.03/patchlevel.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/patchlevel.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/patchlevel.h'\" \(517 characters\)
- sed "s/^X//" >'procmail-3.03/patchlevel.h' <<'END_OF_FILE'
- X#define VERSION "\
- Xprocmail v3.03 1994/06/30 written and created by Stephen R. van den Berg\n\
- X\t\t\t\tberg@pool.informatik.rwth-aachen.de\n\
- X\n\
- XSubmit questions/answers to the procmail-related mailinglist by sending to:\n\
- X\tprocmail@informatik.rwth-aachen.de\n\
- X\n\
- XAnd of course, subscription and information requests for this list to:\n\
- X\tprocmail-request@informatik.rwth-aachen.de\n"
- X
- X/* If the formatting or number of newlines of VERSION substantially changes,
- X src/manconf.c needs to be changed as well */
- END_OF_FILE
- if test 517 -ne `wc -c <'procmail-3.03/patchlevel.h'`; then
- echo shar: \"'procmail-3.03/patchlevel.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/patchlevel.h'
- fi
- if test -f 'procmail-3.03/src/Makefile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/Makefile'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/Makefile'\" \(361 characters\)
- sed "s/^X//" >'procmail-3.03/src/Makefile' <<'END_OF_FILE'
- X#$Id: Makefile,v 1.7 1994/05/26 14:12:19 berg Exp $
- X
- XHIDEMAKE=$(MAKE)
- X
- Xall: init
- X $(HIDEMAKE) make $@
- X
- X# The only real thing that can be made right now is:
- X
- Xinit:
- X cd ..; $(MAKE) make init
- X
- X.PRECIOUS: Makefile
- X
- XMakefile makefile Makefiles makefiles: init
- X
- Xprocmail lockfile formail multigram mailstat setid ../autoconf.h \
- Xautoconf.h: init
- X $(HIDEMAKE) make $@
- END_OF_FILE
- if test 361 -ne `wc -c <'procmail-3.03/src/Makefile'`; then
- echo shar: \"'procmail-3.03/src/Makefile'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/Makefile'
- fi
- if test -f 'procmail-3.03/src/acommon.c' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/acommon.c'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/acommon.c'\" \(1339 characters\)
- sed "s/^X//" >'procmail-3.03/src/acommon.c' <<'END_OF_FILE'
- X/************************************************************************
- X * Some routine common to procmail, formail and lockfile *
- X * *
- X * Copyright (c) 1993-1994, S.R. van den Berg, The Netherlands *
- X * #include "../README" *
- X ************************************************************************/
- X#ifdef RCS
- Xstatic /*const*/char rcsid[]=
- X "$Id: acommon.c,v 1.2 1994/06/28 16:55:56 berg Exp $";
- X#endif
- X#include "includes.h"
- X#include "acommon.h"
- X#include "robust.h"
- X#include "shell.h"
- X
- Xconst char*hostname P((void))
- X{
- X#ifdef NOuname
- X#ifndef MAXHOSTNAMELEN
- X#define MAXHOSTNAMELEN 64
- X#endif
- X static char name[MAXHOSTNAMELEN];
- X gethostname(name,MAXHOSTNAMELEN);name[MAXHOSTNAMELEN-1]='\0';
- X#else
- X struct utsname names;static char*name;
- X if(name)
- X free(name);
- X Uname(&names);
- X if(!(name=malloc(strlen(names.nodename)+1)))
- X return ""; /* can happen when called from within lockfile */
- X strcpy(name,names.nodename);
- X#endif
- X return name;
- X}
- X
- Xchar*ultoan(val,dest)unsigned long val;char*dest; /* convert to a number */
- X{ register i; /* within the set [0-9A-Za-z-_] */
- X do
- X { i=val&0x3f; /* collating sequence dependency! */
- X *dest++=i+(i<10?'0':i<10+26?'A'-10:i<10+26+26?'a'-10-26:
- X i==10+26+26?'-'-10-26-26:'_'-10-26-27);
- X }
- X while(val>>=6);
- X *dest='\0';
- X return dest;
- X}
- END_OF_FILE
- if test 1339 -ne `wc -c <'procmail-3.03/src/acommon.c'`; then
- echo shar: \"'procmail-3.03/src/acommon.c'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/acommon.c'
- fi
- if test -f 'procmail-3.03/src/acommon.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/acommon.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/acommon.h'\" \(138 characters\)
- sed "s/^X//" >'procmail-3.03/src/acommon.h' <<'END_OF_FILE'
- X/*$Id: acommon.h,v 1.1 1994/04/05 15:34:07 berg Exp $*/
- X
- Xconst char
- X *hostname P((void));
- Xchar
- X *ultoan P((unsigned long val,char*dest));
- END_OF_FILE
- if test 138 -ne `wc -c <'procmail-3.03/src/acommon.h'`; then
- echo shar: \"'procmail-3.03/src/acommon.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/acommon.h'
- fi
- if test -f 'procmail-3.03/src/common.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/common.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/common.h'\" \(499 characters\)
- sed "s/^X//" >'procmail-3.03/src/common.h' <<'END_OF_FILE'
- X/*$Id: common.h,v 1.10 1994/05/26 14:12:28 berg Exp $*/
- X
- Xvoid
- X shexec P((const char*const*argv)),
- X detab P((char*p)),
- X ultstr P((int minwidth,unsigned long val,char*dest));
- Xchar
- X *skpspace P((const char*chp));
- Xint
- X waitfor Q((const pid_t pid)),
- X strnIcmp P((const char*a,const char*b,size_t l));
- X
- X#ifdef NOstrcspn
- Xint
- X strcspn P((const char*const whole,const char*const sub));
- X#endif
- X
- X#define LENoffset (TABWIDTH*LENtSTOP)
- X#define MAXfoldlen (LENoffset-STRLEN(sfolder)-1)
- X
- X#define NO_PROCESS (-256)
- END_OF_FILE
- if test 499 -ne `wc -c <'procmail-3.03/src/common.h'`; then
- echo shar: \"'procmail-3.03/src/common.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/common.h'
- fi
- if test -f 'procmail-3.03/src/cstdio.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/cstdio.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/cstdio.h'\" \(376 characters\)
- sed "s/^X//" >'procmail-3.03/src/cstdio.h' <<'END_OF_FILE'
- X/*$Id: cstdio.h,v 1.8 1994/05/26 14:12:31 berg Exp $*/
- X
- Xvoid
- X pushrc P((const char*const name)),
- X duprcs P((void)),
- X closerc P((void)),
- X ungetb P((const x)),
- X getlline P((char*target));
- Xint
- X poprc P((void)),
- X bopen P((const char*const name)),
- X getbl P((char*p)),
- X getb P((void)),
- X testb P((const x)),
- X sgetc P((void)),
- X skipspace P((void));
- X
- Xextern struct dynstring*incnamed;
- END_OF_FILE
- if test 376 -ne `wc -c <'procmail-3.03/src/cstdio.h'`; then
- echo shar: \"'procmail-3.03/src/cstdio.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/cstdio.h'
- fi
- if test -f 'procmail-3.03/src/ecommon.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/ecommon.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/ecommon.h'\" \(158 characters\)
- sed "s/^X//" >'procmail-3.03/src/ecommon.h' <<'END_OF_FILE'
- X/*$Id: ecommon.h,v 1.4 1994/05/26 14:12:33 berg Exp $*/
- X
- Xvoid
- X *tmalloc Q((const size_t len)),
- X *trealloc Q((void*old,const size_t len)),
- X tfree P((void*a));
- END_OF_FILE
- if test 158 -ne `wc -c <'procmail-3.03/src/ecommon.h'`; then
- echo shar: \"'procmail-3.03/src/ecommon.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/ecommon.h'
- fi
- if test -f 'procmail-3.03/src/exopen.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/exopen.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/exopen.h'\" \(602 characters\)
- sed "s/^X//" >'procmail-3.03/src/exopen.h' <<'END_OF_FILE'
- X/*$Id: exopen.h,v 1.12 1994/05/26 14:12:36 berg Exp $*/
- X
- Xint
- X unique Q((const char*const full,char*p,const mode_t mode,const verbos,
- X const chownit)),
- X myrename P((const char*const old,const char*const newn)),
- X hlink P((const char*const old,const char*const newn));
- X
- X#define charsSERIAL 4
- X#define UNIQnamelen (1+charsSERIAL+HOSTNAMElen+1)
- X#define bitsSERIAL (6*charsSERIAL)
- X#define maskSERIAL ((1L<<bitsSERIAL)-1)
- X#define rotbSERIAL 2
- X#define irotbSERIAL (1L<<bitsSERIAL-rotbSERIAL)
- X#define mrotbSERIAL ((maskSERIAL&irotbSERIAL-1)+irotbSERIAL)
- X
- X#define doCHOWN 1
- X#define doCHECK 2
- X#define doLOCK 4
- END_OF_FILE
- if test 602 -ne `wc -c <'procmail-3.03/src/exopen.h'`; then
- echo shar: \"'procmail-3.03/src/exopen.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/exopen.h'
- fi
- if test -f 'procmail-3.03/src/fields.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/fields.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/fields.h'\" \(565 characters\)
- sed "s/^X//" >'procmail-3.03/src/fields.h' <<'END_OF_FILE'
- X/*$Id: fields.h,v 1.6 1994/05/26 14:12:39 berg Exp $*/
- X
- Xstruct field
- X *findf P((const struct field*const p,struct field**ah)),
- X **addfield Q((struct field**pointer,const char*const text,
- X const size_t totlen)),
- X *delfield P((struct field**pointer));
- Xvoid
- X clear_uhead P((struct field*hdr)),
- X concatenate P((struct field*const fldp)),
- X renfield Q((struct field**const pointer,const size_t oldl,
- X const char*const newname,const size_t newl)),
- X flushfield P((struct field**pointer)),
- X dispfield P((const struct field*p)),
- X addbuf P((void));
- Xint
- X readhead P((void));
- END_OF_FILE
- if test 565 -ne `wc -c <'procmail-3.03/src/fields.h'`; then
- echo shar: \"'procmail-3.03/src/fields.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/fields.h'
- fi
- if test -f 'procmail-3.03/src/formail.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/formail.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/formail.h'\" \(1164 characters\)
- sed "s/^X//" >'procmail-3.03/src/formail.h' <<'END_OF_FILE'
- X/*$Id: formail.h,v 1.11 1994/05/26 14:12:44 berg Exp $*/
- X
- X#define Bsize 128
- X
- X#define NAMEPREFIX "formail: "
- X#define HEAD_DELIMITER ':'
- X
- X#define Re (re+1)
- X#define putssn(a,l) tputssn(a,(size_t)(l))
- X#define putcs(a) (errout=putc(a,mystdout))
- X#define lputssn(a,l) ltputssn(a,(size_t)(l))
- X#define PRDO poutfd[0]
- X#define PWRO poutfd[1]
- X#define FLD_HEADSIZ ((size_t)offsetof(struct field,fld_text[0]))
- X
- Xstruct saved{const char*const headr;const int lenr;int rexl;char*rexp;};
- X
- Xextern const char binsh[],sfolder[],couldntw[];
- Xextern char ffileno[];
- Xextern int errout,oldstdout,quiet,buflast,lenfileno;
- Xextern long initfileno;
- Xextern pid_t child;
- Xextern unsigned long rhash;
- Xextern FILE*mystdout;
- Xextern int nrskip,nrtotal,retval;
- Xextern size_t buflen,buffilled;
- Xextern long totallen;
- Xextern char*buf,*logsummary;
- X
- Xextern struct field
- X { size_t id_len;
- X union {size_t utot_len;struct field**ufld_ref;} len_fld;
- X struct field*fld_next;
- X char fld_text[255];
- X }*rdheader,*xheader,*Xheader,*uheader,*Uheader;
- X
- X#define tot_len len_fld.utot_len
- X#define fld_ref len_fld.ufld_ref
- X
- Xint
- X eqFrom_ P((const char*const a)),
- X breakfield Q((const char*const line,size_t len));
- END_OF_FILE
- if test 1164 -ne `wc -c <'procmail-3.03/src/formail.h'`; then
- echo shar: \"'procmail-3.03/src/formail.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/formail.h'
- fi
- if test -f 'procmail-3.03/src/formisc.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/formisc.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/formisc.h'\" \(542 characters\)
- sed "s/^X//" >'procmail-3.03/src/formisc.h' <<'END_OF_FILE'
- X/*$Id: formisc.h,v 1.9 1994/05/26 14:12:49 berg Exp $*/
- X
- Xvoid
- X loadsaved P((const struct saved*const sp)),
- X loadbuf Q((const char*const text,const size_t len)),
- X loadchar P((const c)),
- X elog P((const char*const a)),
- X tputssn Q((const char*a,size_t l)),
- X ltputssn Q((const char*a,size_t l)),
- X lputcs P((const i)),
- X startprog P((const char*Const*const argv)),
- X nofild P((void)),
- X nlog P((const char*const a)),
- X logqnl P((const char*const a)),
- X closemine P((void)),
- X opensink P((void));
- Xchar*
- X skipwords P((char*start));
- Xint
- X getline P((void));
- END_OF_FILE
- if test 542 -ne `wc -c <'procmail-3.03/src/formisc.h'`; then
- echo shar: \"'procmail-3.03/src/formisc.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/formisc.h'
- fi
- if test -f 'procmail-3.03/src/goodies.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/goodies.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/goodies.h'\" \(449 characters\)
- sed "s/^X//" >'procmail-3.03/src/goodies.h' <<'END_OF_FILE'
- X/*$Id: goodies.h,v 1.13 1994/05/26 14:12:53 berg Exp $*/
- X
- Xvoid
- X readparse P((char*p,int(*const fpgetc)(),const sarg)),
- X ltstr P((const int minwidth,const long val,char*dest)),
- X primeStdout P((void)),
- X retStdout P((char*const newmyenv)),
- X postStdout P((void));
- Xconst char
- X *sputenv P((const char*const a));
- Xdouble
- X stod P((const char*str,const char**const ptr));
- X
- Xextern long Stdfilled;
- Xextern const char test[];
- X
- Xextern const char*Tmnate,*All_args;
- END_OF_FILE
- if test 449 -ne `wc -c <'procmail-3.03/src/goodies.h'`; then
- echo shar: \"'procmail-3.03/src/goodies.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/goodies.h'
- fi
- if test -f 'procmail-3.03/src/locking.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/locking.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/locking.h'\" \(434 characters\)
- sed "s/^X//" >'procmail-3.03/src/locking.h' <<'END_OF_FILE'
- X/*$Id: locking.h,v 1.5 1994/05/26 14:13:03 berg Exp $*/
- X
- Xvoid
- X lockit P((char*name,char**const lockp)),
- X lcllock P((void)),
- X unlock P((char**const lockp));
- Xint
- X xcreat Q((const char*const name,const mode_t mode,time_t*const tim,
- X const chownit));
- X
- X#ifdef NOfcntl_lock
- X#ifndef USElockf
- X#ifndef USEflock
- X#define fdlock(fd) 0
- X#define fdunlock() 0
- X#endif
- X#endif
- X#endif
- X#ifndef fdlock
- Xint
- X fdlock P((int fd)),
- X fdunlock P((void));
- X#endif
- END_OF_FILE
- if test 434 -ne `wc -c <'procmail-3.03/src/locking.h'`; then
- echo shar: \"'procmail-3.03/src/locking.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/locking.h'
- fi
- if test -f 'procmail-3.03/src/mcommon.c' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/mcommon.c'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/mcommon.c'\" \(765 characters\)
- sed "s/^X//" >'procmail-3.03/src/mcommon.c' <<'END_OF_FILE'
- X/************************************************************************
- X * Some common routines to all programs but formail *
- X * *
- X * Copyright (c) 1993-1994, S.R. van den Berg, The Netherlands *
- X * #include "../README" *
- X ************************************************************************/
- X#ifdef RCS
- Xstatic /*const*/char rcsid[]=
- X "$Id: mcommon.c,v 1.1 1994/04/05 15:35:01 berg Exp $";
- X#endif
- X#include "includes.h"
- X#include "mcommon.h"
- X
- Xstatic volatile gotsig;
- X
- Xstatic void fakehandler P((void))
- X{ gotsig=1;
- X}
- X
- Xvoid qsignal(sig,action)const int sig;void(*action)P((void));
- X{ gotsig=0;
- X if(SIG_IGN==signal(sig,(void(*)())fakehandler))
- X signal(sig,SIG_IGN);
- X else
- X { signal(sig,(void(*)())action);
- X if(gotsig)
- X (*action)();
- X }
- X}
- END_OF_FILE
- if test 765 -ne `wc -c <'procmail-3.03/src/mcommon.c'`; then
- echo shar: \"'procmail-3.03/src/mcommon.c'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/mcommon.c'
- fi
- if test -f 'procmail-3.03/src/mcommon.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/mcommon.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/mcommon.h'\" \(107 characters\)
- sed "s/^X//" >'procmail-3.03/src/mcommon.h' <<'END_OF_FILE'
- X/*$Id: mcommon.h,v 1.1 1994/04/05 15:35:03 berg Exp $*/
- X
- Xvoid
- X qsignal P((const sig,void(*action)(void)));
- END_OF_FILE
- if test 107 -ne `wc -c <'procmail-3.03/src/mcommon.h'`; then
- echo shar: \"'procmail-3.03/src/mcommon.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/mcommon.h'
- fi
- if test -f 'procmail-3.03/src/network.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/network.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/network.h'\" \(447 characters\)
- sed "s/^X//" >'procmail-3.03/src/network.h' <<'END_OF_FILE'
- X/*$Id: network.h,v 1.6 1994/05/26 14:13:17 berg Exp $*/
- X
- X#include <sys/socket.h> /* socket() sendto() AF_INET
- X /* SOCK_DGRAM */
- X#include <netdb.h> /* gethostbyname() getservbyname()
- X /* getprotobyname() */
- X#include <netinet/in.h> /* htons() struct sockaddr_in */
- X
- X#ifndef BIFF_serviceport
- X#define BIFF_serviceport COMSATservice
- X#endif
- X
- X#ifndef h_0addr_list
- X#define h_0addr_list h_addr_list[0] /* POSIX struct member */
- X#endif
- END_OF_FILE
- if test 447 -ne `wc -c <'procmail-3.03/src/network.h'`; then
- echo shar: \"'procmail-3.03/src/network.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/network.h'
- fi
- if test -f 'procmail-3.03/src/pipes.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/pipes.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/pipes.h'\" \(686 characters\)
- sed "s/^X//" >'procmail-3.03/src/pipes.h' <<'END_OF_FILE'
- X/*$Id: pipes.h,v 1.9 1994/05/26 14:13:20 berg Exp $*/
- X
- Xvoid
- X inittmout P((const char*const progname)),
- X ftimeout P((void)),
- X resettmout P((void)),
- X exectrap P((const char*const tp));
- Xint
- X pipthrough P((char*line,char*source,const long len));
- Xlong
- X pipin P((char*const line,char*source,long len));
- Xchar*
- X readdyn P((char*bf,long*const filled)),
- X *fromprog Q((char*name,char*const dest,size_t max));
- X
- X#define PRDO poutfd[0]
- X#define PWRO poutfd[1]
- X#define PRDI pinfd[0]
- X#define PWRI pinfd[1]
- X#define PRDB pbackfd[0]
- X#define PWRB pbackfd[1]
- X
- Xextern const char exitcode[];
- Xextern int setxit;
- Xextern pid_t pidchild;
- Xextern volatile time_t alrmtime;
- Xextern volatile toutflag;
- Xextern int pipw;
- END_OF_FILE
- if test 686 -ne `wc -c <'procmail-3.03/src/pipes.h'`; then
- echo shar: \"'procmail-3.03/src/pipes.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/pipes.h'
- fi
- if test -f 'procmail-3.03/src/regexp.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/regexp.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/regexp.h'\" \(289 characters\)
- sed "s/^X//" >'procmail-3.03/src/regexp.h' <<'END_OF_FILE'
- X/*$Id: regexp.h,v 1.9 1994/05/26 14:13:36 berg Exp $*/
- X
- Xstruct eps{unsigned opc;struct eps*next;
- X union {struct eps*awn;int sopc;} sp;}*
- X bregcomp P((const char*const a,int ign_case));
- Xchar*
- X bregexec Q((struct eps*code,const uchar*const text,const uchar*str,size_t len,
- X int ign_case));
- END_OF_FILE
- if test 289 -ne `wc -c <'procmail-3.03/src/regexp.h'`; then
- echo shar: \"'procmail-3.03/src/regexp.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/regexp.h'
- fi
- if test -f 'procmail-3.03/src/robust.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/robust.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/robust.h'\" \(579 characters\)
- sed "s/^X//" >'procmail-3.03/src/robust.h' <<'END_OF_FILE'
- X/*$Id: robust.h,v 1.8 1994/05/26 14:13:39 berg Exp $*/
- X
- Xvoid
- X *tmalloc Q((const size_t len)),
- X *trealloc Q((void*const old,const size_t len)),
- X tfree P((void*const p)),
- X opnlog P((const char*file)),
- X ssleep P((const unsigned seconds)),
- X doumask Q((const mode_t mask));
- Xpid_t
- X sfork P((void));
- Xint
- X opena P((const char*const a)),
- X ropen Q((const char*const name,const mode,const mode_t mask)),
- X rpipe P((int fd[2])),
- X rdup P((const p)),
- X rclose P((const fd)),
- X rread P((const fd,void*const a,const len)),
- X rwrite P((const fd,const void*const a,const len));
- X
- Xextern mode_t cumask;
- END_OF_FILE
- if test 579 -ne `wc -c <'procmail-3.03/src/robust.h'`; then
- echo shar: \"'procmail-3.03/src/robust.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/robust.h'
- fi
- if test -f 'procmail-3.03/src/shell.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/shell.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/shell.h'\" \(249 characters\)
- sed "s/^X//" >'procmail-3.03/src/shell.h' <<'END_OF_FILE'
- X/*$Id: shell.h,v 1.5 1994/05/26 14:13:41 berg Exp $*/
- X
- X#ifdef malloc
- X#undef malloc
- X#endif
- X#define malloc(n) tmalloc((size_t)(n))
- X#define realloc(p,n) trealloc(p,(size_t)(n))
- X#define free(p) tfree(p)
- X#define tmemmove(t,f,n) memmove(t,f,(size_t)(n))
- END_OF_FILE
- if test 249 -ne `wc -c <'procmail-3.03/src/shell.h'`; then
- echo shar: \"'procmail-3.03/src/shell.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/shell.h'
- fi
- if test -f 'procmail-3.03/src/sublib.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'procmail-3.03/src/sublib.h'\"
- else
- echo shar: Extracting \"'procmail-3.03/src/sublib.h'\" \(401 characters\)
- sed "s/^X//" >'procmail-3.03/src/sublib.h' <<'END_OF_FILE'
- X/*$Id: sublib.h,v 1.9 1994/05/26 14:13:44 berg Exp $*/
- X
- X#ifdef NOmemmove
- Xvoid
- X *smemmove Q((void*To,const void*From,size_t count));
- X#endif
- X
- X#ifdef NOstrpbrk
- Xchar
- X *strpbrk P((const char*const st,const char*del));
- X#endif
- X
- X#ifdef SLOWstrstr
- Xchar
- X *sstrstr P((const char*const phaystack,const char*const pneedle));
- X#endif
- X
- X#ifdef NOstrtol
- Xlong
- X strtol P((const char*start,const char**const ptr));
- X#endif
- END_OF_FILE
- if test 401 -ne `wc -c <'procmail-3.03/src/sublib.h'`; then
- echo shar: \"'procmail-3.03/src/sublib.h'\" unpacked with wrong size!
- fi
- # end of 'procmail-3.03/src/sublib.h'
- fi
- echo shar: End of archive 10 \(of 10\).
- cp /dev/null ark10isdone
- MISSING=""
- for I in 1 2 3 4 5 6 7 8 9 10 ; do
- if test ! -f ark${I}isdone ; then
- MISSING="${MISSING} ${I}"
- fi
- done
- if test "${MISSING}" = "" ; then
- echo You have unpacked all 10 archives.
- rm -f ark[1-9]isdone ark[1-9][0-9]isdone
- else
- echo You still must unpack the following archives:
- echo " " ${MISSING}
- fi
- exit 0
- exit 0 # Just in case...
-