From faa17a6f8eaaf13235338cbe2cc5474aff5e9ced Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 4 Sep 2017 12:11:35 -0300 Subject: Adds fixmes --- fixmes | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 fixmes 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 -- cgit v1.2.3