From 3c5c672e47737e6b3342dfeb730ccd8320f2d442 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 20 Aug 2024 20:42:35 -0300 Subject: Initial import --- fixmes | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 fixmes (limited to 'fixmes') diff --git a/fixmes b/fixmes new file mode 100755 index 0000000..dda4f82 --- /dev/null +++ b/fixmes @@ -0,0 +1,18 @@ +#!/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 + file="$1" +else + file='-R *' +fi + +grep -i "FIXME" $file | sed -e 's/^ *//' -- cgit v1.2.3