aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-09-04 12:11:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-09-04 12:11:35 -0300
commitfaa17a6f8eaaf13235338cbe2cc5474aff5e9ced (patch)
treeb596a93b3414362cd445882c55dc8cf97795f95c
parent18f650dc29d7314243dbd33a04e8a32670915115 (diff)
downloadscripts-faa17a6f8eaaf13235338cbe2cc5474aff5e9ced.tar.gz
scripts-faa17a6f8eaaf13235338cbe2cc5474aff5e9ced.tar.bz2
Adds fixmes
-rwxr-xr-xfixmes14
1 files changed, 14 insertions, 0 deletions
diff --git a/fixmes b/fixmes
new file mode 100755
index 0000000..82623a4
--- /dev/null
+++ b/fixmes
@@ -0,0 +1,14 @@
+#!/bin/bash
+#
+# FIXME visualizer.
+# Run on itself for a nice result: fixmes `which fixmes`
+#
+
+# Basic params
+NAME="$0"
+BASENAME="`basename $NAME`"
+
+# Run
+if [ ! -z "$1" ] && [ -e "$1" ]; then
+ grep -i "FIXME" $1 | sed -e 's/^ *//'
+fi