diff options
Diffstat (limited to 'mseq.c')
-rw-r--r-- | mseq.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mseq.c b/mseq.c index 5ae5862..fdabcc8 100644 --- a/mseq.c +++ b/mseq.c @@ -1,3 +1,4 @@ +#include <string.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -26,6 +27,10 @@ main(int argc, char *argv[]) char *f; struct blaze822_seq_iter iter = { 0 }; for (i = optind; i < argc; i++) { + if (strchr(argv[i], '/')) { + printf("%s\n", argv[i]); + continue; + } while ((f = blaze822_seq_next(map, argv[i], &iter))) { if (nflag) printf("%ld\n", iter.line-1); |