/[Frey]/trunk/bin/grep-iselect.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/bin/grep-iselect.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 966 by dpavlin, Wed Jan 7 22:59:02 2009 UTC revision 967 by dpavlin, Fri Jan 9 14:52:13 2009 UTC
# Line 5  Line 5 
5  test -z "$1" && exit  test -z "$1" && exit
6    
7  select=tmp/grep  select=tmp/grep
8  grep="grep -rni $@ lib static/Frey t/"  grep="grep -rni $@ '*.[Pp][MmLl] bin/ lib/ static/Frey/ t/ etc/"
9  $grep | sed 's/^\([^ ]*:[0-9][0-9]*:[ ^]*\)/{s}\1/' > $select  $grep | sed 's/^\([^ ]*:[0-9][0-9]*:[ ^]*\)/{s}\1/' > $select
10  if [ ! -s $silect ] ; then  if [ ! -s $silect ] ; then
11          echo "no results for $grep"          echo "no results for $grep"

Legend:
Removed from v.966  
changed lines
  Added in v.967

  ViewVC Help
Powered by ViewVC 1.1.26