diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-08-20 20:42:35 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-08-20 20:42:35 -0300 |
commit | 3c5c672e47737e6b3342dfeb730ccd8320f2d442 (patch) | |
tree | d08d27539f244e640cf1e92ed0f259929fdf5d32 /fixmes | |
download | utils-organization-3c5c672e47737e6b3342dfeb730ccd8320f2d442.tar.gz utils-organization-3c5c672e47737e6b3342dfeb730ccd8320f2d442.tar.bz2 |
Initial import
Diffstat (limited to 'fixmes')
-rwxr-xr-x | fixmes | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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/^ *//' |