home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <sys/types.h>
-
- #define Case break; case
- #define Default break; default
- static char *_arg, *_argp; /* use by 'for_each_argument */
- extern char *av0; /* will hold name of the command */
- #define argument (_arg=(*_argp? _argp : av[++i==ac? --i : i]),_argp+=strlen(_argp),_arg)
- #define for_each_argument av0 = av[0]; for (i=1;i<ac && *av[i]=='-';i++)\
- for (_argp = &av[i][1]; *_argp;)\
- switch(*_argp++)
-
- extern char *malloc(), *calloc(), *index(), *rindex();
- extern error(), debug(), System(), match();
- extern int Verbose;
- extern sub(), substr(), suffix(), squishblank(), stripnl(), blank(), stot();
- extern int atoi();
- extern double atof();
- char *save(), *skipsp(), *prefix(), *strindex();
- extern fMode(), fDirectory(), fLink(), fTime(), mkdirs();
-
- #define Alloc(x) (x *)calloc(1,sizeof(x))
-