/[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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 665 - (show annotations)
Mon Dec 1 23:41:35 2008 UTC (15 years, 3 months ago) by dpavlin
File MIME type: application/x-sh
File size: 158 byte(s)
make "./bin/grep-iselect.sh perl -wc" do the right thing
(find "perl -wc" in source)
1 #!/bin/sh
2
3 test -z "$1" && exit
4
5 line=`grep -rn "$*" lib t/ | sed 's/^/<s>/' | iselect`
6 test ! -z "$line" && vi `echo $line | sed -e 's/:/ +/' -e 's/:.*$//'`

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26