diff options
-rwxr-xr-x | fixmes | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -10,5 +10,9 @@ BASENAME="`basename $NAME`" # Run if [ ! -z "$1" ] && [ -e "$1" ]; then - grep -i "FIXME" $1 | sed -e 's/^ *//' + file="$1" +else + file='-R *' fi + +grep -i "FIXME" $file | sed -e 's/^ *//' |