home *** CD-ROM | disk | FTP | other *** search
- /*
- * crmail - get compressed mail from host, uncompress
- * WARNING: This may be insecure!
- */
-
- /*
- *
- * Copyright 1993 by Ed Carp (erc@apple.com) All rights reserved.
- *
- * Permission is hereby granted for any non-commercial use of this
- * program, as long as this copyright notice remains intact. Commercial
- * users may contact me - I'm easy.
- *
- */
-
- #include <stdio.h>
- #include "uucomp.h"
- main (argc, argv)
- int argc;
- char **argv;
- {
- char cmd[1024];
- int i;
-
- sprintf (cmd, "%s|%s ", UNCOMPRESS, RMAIL);
- for (i = 1; i < argc; i++)
- {
- strcat (cmd, argv[i]);
- strcat (cmd, " ");
- }
- system (cmd);
- exit (0);
- }
-