25 |
|
|
26 |
|
#define isblnk(c) (igneol ? isspace(c) : (c)==' '||(c)=='\t') |
27 |
|
|
28 |
< |
#define INBSIZ 4096 /* longest record */ |
28 |
> |
#define INBSIZ 16384 /* longest record */ |
29 |
|
#define MAXCOL 32 /* number of columns recorded */ |
30 |
|
|
31 |
|
/* field type specifications */ |
210 |
|
} |
211 |
|
|
212 |
|
if (noinput) { /* produce a single output record */ |
213 |
+ |
if (i < argc) { |
214 |
+ |
eputs(argv[0]); |
215 |
+ |
eputs(": file argument(s) incompatible with -n\n"); |
216 |
+ |
quit(1); |
217 |
+ |
} |
218 |
|
eclock++; |
219 |
|
putout(); |
220 |
|
quit(0); |
639 |
|
register struct field *f; |
640 |
|
|
641 |
|
while (ipb.chr != EOF) { |
637 |
– |
eatline = !igneol && ipb.chr != '\n'; |
642 |
|
if (blnkeq) /* beware of nbsynch() */ |
643 |
|
while (isblnk(ipb.chr)) |
644 |
|
resetinp(); |
645 |
+ |
eatline = (!igneol && ipb.chr != '\n'); |
646 |
|
clearrec(); /* start with fresh record */ |
647 |
|
for (f = inpfmt; f != NULL; f = f->next) |
648 |
|
if (getfield(f) == -1) |