[Lunar-commits] CVS: theedge/bin lvu,1.54,1.55

Auke Kok sofar at lunar-linux.org
Tue Nov 23 09:33:53 UTC 2004


Update of /var/cvs/lunar/theedge/bin
In directory espresso.foo-projects.org:/home/sofar/active/theedge/bin

Modified Files:
	lvu 
Log Message:
fast, faster, ranitha!


Index: lvu
===================================================================
RCS file: /var/cvs/lunar/theedge/bin/lvu,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- lvu	29 Oct 2004 14:17:46 -0000	1.54
+++ lvu	23 Nov 2004 09:33:51 -0000	1.55
@@ -848,11 +848,7 @@
       ;;
       
     search)
-      cat $MODULE_INDEX | while read ENTRY ; do
-        MOD=$(echo $ENTRY | cut -d: -f1)
-	SEC=$(echo $ENTRY | cut -d: -f2)
-        echo $MOONBASE/$SEC/$MOD/DETAILS
-      done | xargs egrep -l -i "$2" | sed "s;${MOONBASE}/\(.*\)/DETAILS;\1;"
+      grep -irle $2 "$MOONBASE" | grep DETAILS | sed "s;${MOONBASE}/\(.*\)/DETAILS;\1;"
       ;;
       
     service)



More information about the Lunar-commits mailing list