We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ce8b9a commit 052167fCopy full SHA for 052167f
1 file changed
python2.7/mt.py
@@ -0,0 +1,11 @@
1
+#!/usr/bin/env python2
2
+
3
+import argparse
4
+import multitail
5
6
+parser = argparse.ArgumentParser()
7
+parser.add_argument('files', type=str, nargs='+')
8
+args = parser.parse_args()
9
10
+for fn, line in multitail.multitail(args.files):
11
+ print("{}: {}".format(fn,line.strip()))
0 commit comments