全般を修正
[logcat.git] / logcat.sh
diff --git a/logcat.sh b/logcat.sh
new file mode 100644 (file)
index 0000000..6668f23
--- /dev/null
+++ b/logcat.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+# logcat
+#   指定したログを、logrotateした分も含めてすべて出力
+#
+gunzip -c $1.[0-9]* | cat - $1.[0-9]* $1 | sort