summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcatall9
1 files changed, 9 insertions, 0 deletions
diff --git a/catall b/catall
new file mode 100755
index 0000000..bdc21b7
--- /dev/null
+++ b/catall
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+pattern=$1
+
+for i in *$pattern* ; do
+ echo
+ echo "==> $i <=="
+ sed 's/^/ /' $i
+done