Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] gaze search speed

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Vaclav Kulakovsky <vaclav.kulakovsky AT definity.cz>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: [SM-Discuss] gaze search speed
  • Date: Mon, 14 Apr 2003 08:15:48 +0200 (CEST)

Hi all,

I've tried to speed up "gaze search" command, because it seems to me too
slow for comfortable use. Can somebody from the team check it ?

It is patch for stable gaze version.

Another idea:

It would be nice if "gaze search" can display information in which
grimoire founded spell is.

Regards

Vaclav
--- gaze 2003-04-13 11:15:18.000000000 +0200
+++ gaze.new 2003-04-13 11:15:10.000000000 +0200
@@ -511,7 +511,9 @@
fi

let j=0
- for SPELL_DIRECTORY in `codex_get_all_spells`; do
+ PATTERN="-e "`echo $*| sed -e 's/ / -e /g'`
+ SPELLS_LIST=`codex_get_all_spells | sed -e 's/$/\/DETAILS /g' | xargs grep
-il $PATTERN 2>/dev/null | sed -e 's/\/DETAILS//g'`
+ for SPELL_DIRECTORY in $SPELLS_LIST; do

if ! [ "$GAZE_VERBOSE" == "0" ]; then
progress_spinner


  • [SM-Discuss] gaze search speed, Vaclav Kulakovsky, 04/14/2003

Archive powered by MHonArc 2.6.24.

Top of Page