diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2017-09-04 12:13:11 -0300 | 
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2017-09-04 12:13:11 -0300 | 
| commit | b41d8d910942a54f202172c3d339593daa034f20 (patch) | |
| tree | 855706b81456a81f25398d2e1ed328d91c000115 /fixmes | |
| parent | faa17a6f8eaaf13235338cbe2cc5474aff5e9ced (diff) | |
| download | scripts-b41d8d910942a54f202172c3d339593daa034f20.tar.gz scripts-b41d8d910942a54f202172c3d339593daa034f20.tar.bz2  | |
Fixmes: default arg
Diffstat (limited to 'fixmes')
| -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/^  *//'  | 
