projects
/
ir-tcl-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb1ba3e
)
searchResult usage
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 21 Mar 2002 11:11:53 +0000
(11:11 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 21 Mar 2002 11:11:53 +0000
(11:11 +0000)
shell.tcl
patch
|
blob
|
history
diff --git
a/shell.tcl
b/shell.tcl
index
ee635bd
..
9b64f68
100644
(file)
--- a/
shell.tcl
+++ b/
shell.tcl
@@
-1,4
+1,4
@@
-# $Id: shell.tcl,v 1.7 2002-03-20 14:48:54 adam Exp $
+# $Id: shell.tcl,v 1.8 2002-03-21 11:11:53 adam Exp $
#
if {[catch {ir-log-init all irtcl shell.log}]} {
@@
-77,7
+77,10
@@
proc find-response {z} {
if {$sstatus} {
set h [$z resultCount]
puts "Search ok. $h hits"
- puts [$z searchResult]
+ set terms [$z searchResult]
+ foreach tc $terms {
+ puts "[lindex $tc 0]: [lindex $tc 1]"
+ }
} else {
puts "Search failed"
}