From 181fcb5d70b1e9408098611c5e97a920352b9669 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 20 Jul 2016 14:15:59 +0200 Subject: mseq: pass through file names --- mseq.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mseq.c') diff --git a/mseq.c b/mseq.c index 5ae5862..fdabcc8 100644 --- a/mseq.c +++ b/mseq.c @@ -1,3 +1,4 @@ +#include #include #include #include @@ -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); -- cgit 1.4.1