version 1.2, 1996/06/26 05:34:49 |
version 1.3, 2001/11/19 19:02:14 |
|
|
int argc; |
int argc; |
char *argv[]; |
char *argv[]; |
{ |
{ |
register struct openfile *ip; |
struct openfile *ip; |
|
|
getargs(argv); |
getargs(argv); |
if (!morefiles) |
if (!morefiles) |
|
|
getargs(av) |
getargs(av) |
char *av[]; |
char *av[]; |
{ |
{ |
register struct openfile *ip = input; |
struct openfile *ip = input; |
register char *p; |
char *p; |
register char *c; |
char *c; |
static char fmtbuf[BUFSIZ]; |
static char fmtbuf[BUFSIZ]; |
char *fmtp = fmtbuf; |
char *fmtp = fmtbuf; |
int P, S, F, T; |
int P, S, F, T; |
|
|
pad(ip) |
pad(ip) |
struct openfile *ip; |
struct openfile *ip; |
{ |
{ |
register char *p = ip->sepstring; |
char *p = ip->sepstring; |
register char *lp = linep; |
char *lp = linep; |
|
|
while (*p) |
while (*p) |
*lp++ = *p++; |
*lp++ = *p++; |
|
|
struct openfile *ip; |
struct openfile *ip; |
{ |
{ |
char s[BUFSIZ]; |
char s[BUFSIZ]; |
register int c; |
int c; |
register char *p; |
char *p; |
register char *lp = linep; |
char *lp = linep; |
char *end = s + BUFSIZ; |
char *end = s + BUFSIZ; |
|
|
if (ip->eof) |
if (ip->eof) |