version 1.17, 2009/10/27 23:59:43 |
version 1.18, 2015/01/16 06:40:12 |
|
|
* SUCH DAMAGE. |
* SUCH DAMAGE. |
*/ |
*/ |
|
|
#include <sys/param.h> |
#include <sys/param.h> /* MAXBSIZE */ |
#include <sys/types.h> |
#include <sys/types.h> |
|
|
#include <ctype.h> |
#include <ctype.h> |
|
|
int file_open; /* If a file open. */ |
int file_open; /* If a file open. */ |
int ifd = -1, ofd = -1; /* Input/output file descriptors. */ |
int ifd = -1, ofd = -1; /* Input/output file descriptors. */ |
char bfr[MAXBSIZE]; /* I/O buffer. */ |
char bfr[MAXBSIZE]; /* I/O buffer. */ |
char fname[MAXPATHLEN]; /* File name prefix. */ |
char fname[PATH_MAX]; /* File name prefix. */ |
regex_t rgx; |
regex_t rgx; |
int pflag; |
int pflag; |
int sufflen = 2; /* File name suffix length. */ |
int sufflen = 2; /* File name suffix length. */ |