from John F. Woods <jfw@ksr.com>:

don't crap out if -w specified and not in multi-column mode.
my reading of my draft of P.2 indicates that this is allowed, just
ignored...
This commit is contained in:
cgd 1994-03-07 05:42:17 +00:00
parent d3c09b81a7
commit 1675d43043
1 changed files with 1 additions and 4 deletions

View File

@ -43,7 +43,7 @@ static char copyright[] =
#ifndef lint
/* from: static char sccsid[] = "@(#)pr.c 8.1 (Berkeley) 6/6/93"; */
static char *rcsid = "$Id: pr.c,v 1.1 1994/01/06 15:57:25 cgd Exp $";
static char *rcsid = "$Id: pr.c,v 1.2 1994/03/07 05:42:17 cgd Exp $";
#endif /* not lint */
#include <sys/types.h>
@ -1745,9 +1745,6 @@ setup(argc, argv)
pgwd = SPGWD;
else
pgwd = PGWD;
} else if (clcnt == 1) {
(void)fputs("pr: -w requires multiple columns\n", err);
return(1);
}
if (cflag || merge) {
if (!eflag) {