diff options
author | Eric Andersen | 1999-10-13 18:01:10 +0000 |
---|---|---|
committer | Eric Andersen | 1999-10-13 18:01:10 +0000 |
commit | c6cb79dedfb1af4ce64e75cd1c0d3cc1bfa71225 (patch) | |
tree | 685c18e7a6e52b315c9b8a142b8b21fc55e635fc /dyadic.c | |
parent | 5de3065f5870526a68adee314fe181af976a9246 (diff) | |
download | busybox-c6cb79dedfb1af4ce64e75cd1c0d3cc1bfa71225.zip busybox-c6cb79dedfb1af4ce64e75cd1c0d3cc1bfa71225.tar.gz |
More stuff
Diffstat (limited to 'dyadic.c')
-rw-r--r-- | dyadic.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/dyadic.c b/dyadic.c deleted file mode 100644 index 8136bb5..0000000 --- a/dyadic.c +++ /dev/null @@ -1,28 +0,0 @@ -#include "internal.h" -#include <stdio.h> - -extern int -dyadic_main( - struct FileInfo * i -,int argc -,char * * argv) -{ - int flags; - - i->dyadic = 1; - i->destination = argv[argc - 1]; - - for ( flags = 0; flags < (argc - 1) && argv[flags + 1][0] == '-' ; flags++ ) - ; - if ( argc - flags < 3 ) { - usage(i->applet->usage); - return 1; - } - else if ( argc - flags > 3 ) { - if ( !is_a_directory(i->destination) ) { - fprintf(stderr, "%s: not a directory.\n", i->destination); - return 1; - } - } - return monadic_main(i, argc - 1, argv); -} |