patch mfold 1.06 -> 1.07
Peter Smidt
smidt at fy.chalmers.se
Wed Feb 27 09:07:27 AEST 1991
A fix again, for the '-n' flag.
#! /bin/sh
# This is a shell archive. Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file". To overwrite existing
# files, type "sh file -c". You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g.. If this archive is complete, you
# will see the following message at the end:
# "End of shell archive."
# Contents: patch.README patch.mfold.c
# Wrapped by smidt at coco on Mon Feb 25 18:29:17 1991
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'patch.README' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'patch.README'\"
else
echo shar: Extracting \"'patch.README'\" \(465 characters\)
sed "s/^X//" >'patch.README' <<'END_OF_FILE'
X*** README Mon Feb 25 18:24:33 1991
X--- ../README Mon Feb 25 18:24:03 1991
X***************
X*** 1,4 ****
X! Version 1.06, last change 22 february 1991.
X
X The program mfold is a simple folding and column making program.
X unpack the files from the shar file put them in a empty
X--- 1,4 ----
X! Version 1.07, last change 25 february 1991.
X
X The program mfold is a simple folding and column making program.
X unpack the files from the shar file put them in a empty
END_OF_FILE
if test 465 -ne `wc -c <'patch.README'`; then
echo shar: \"'patch.README'\" unpacked with wrong size!
fi
# end of 'patch.README'
fi
if test -f 'patch.mfold.c' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'patch.mfold.c'\"
else
echo shar: Extracting \"'patch.mfold.c'\" \(542 characters\)
sed "s/^X//" >'patch.mfold.c' <<'END_OF_FILE'
X*** mfold.c Mon Feb 25 18:24:38 1991
X--- ../mfold.c Mon Feb 25 18:19:30 1991
X***************
X*** 249,256 ****
X }
X if ( in != '\n' ) {
X if ( cnt_nwl > 1 && got_newlines ) {
X while ( --cnt_nwl ) {
X- set_putting_text(0);
X putcolu('\n');
X putcolu(' ');
X }
X--- 249,259 ----
X }
X if ( in != '\n' ) {
X if ( cnt_nwl > 1 && got_newlines ) {
X+ putcolu('\n');
X+ putcolu(' ');
X+ cnt_nwl--;
X+ set_putting_text(0);
X while ( --cnt_nwl ) {
X putcolu('\n');
X putcolu(' ');
X }
END_OF_FILE
if test 542 -ne `wc -c <'patch.mfold.c'`; then
echo shar: \"'patch.mfold.c'\" unpacked with wrong size!
fi
# end of 'patch.mfold.c'
fi
echo shar: End of shell archive.
exit 0
--
+=======================================+
"The whole valley is like a smorgasbord."
-- TREMORS
More information about the Alt.sources
mailing list