This file is indexed.

/usr/share/doc/yaz-doc/zoomsh.html is in yaz-doc 4.2.30-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zoomsh</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="YAZ User's Guide and Reference"><link rel="up" href="reference.html" title="Reference"><link rel="prev" href="yaz.html" title="yaz"><link rel="next" href="yaz-asncomp.html" title="yaz-asncomp"></head><body><link rel="stylesheet" type="text/css" href="common/style1.css"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zoomsh</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="yaz.html">Prev</a> </td><th width="60%" align="center">Reference</th><td width="20%" align="right"> <a accesskey="n" href="yaz-asncomp.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="zoomsh"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>zoomsh &#8212; ZOOM shell</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">zoomsh</code>  [<code class="option">-e</code>] [<code class="option">-v <em class="replaceable"><code>loglevel</code></em></code>] [commands...]</p></div></div><div class="refsect1"><a name="idp51712752"></a><h2>DESCRIPTION</h2><p>
    <span class="command"><strong>zoomsh</strong></span> is a ZOOM client with a simple
    command line interface. The client demonstrates the ZOOM
    API and is useful for testing targets.
   </p><p>
    You may pass one or more commands to <span class="command"><strong>zoomsh</strong></span>.
    These commands are invoked first. 
   </p></div><div class="refsect1"><a name="idp51715856"></a><h2>OPTIONS</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">-e</span></dt><dd><p>
      Makes zoomsh stop processing commands as soon as an error occur.
      The exit code of zoomsh is 1 if error occurs; 0 otherwise.
      </p></dd><dt><span class="term">-v <em class="replaceable"><code>loglevel</code></em></span></dt><dd><p>
       Sets YAZ log level.
      </p></dd></dl></div></div><div class="refsect1"><a name="idp51720096"></a><h2>EXAMPLES</h2><p>
    If you start the <span class="command"><strong>yaz-ztest</strong></span> in one console you
    can use the ZOOM shell as follows:
    </p><pre class="screen">
$ zoomsh
ZOOM&gt;connect localhost:9999
ZOOM&gt;search computer
localhost:9999: 7 hits
ZOOM&gt;show 0 1
1 Default USmarc
001    11224466 
003 DLC
005 00000000000000.0
008 910710c19910701nju           00010 eng  
010    $a    11224466 
040    $a DLC $c DLC
050 00 $a 123-xyz
100 10 $a Jack Collins
245 10 $a How to program a computer
260 1  $a Penguin
263    $a 8710
300    $a p. cm.
ZOOM&gt;quit

    </pre><p>
   </p><p>
    You can also achieve the same result by passing the commands
    as arguments on a single command line:
   </p><p>
    <code class="literal">$ zoomsh "connect localhost:9999" "search computer"</code>
    <code class="literal">"show 0 1" quit</code>
   </p></div><div class="refsect1"><a name="idp51725744"></a><h2>COMMANDS</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">connect</code>
      <em class="replaceable"><code>zurl</code></em></span></dt><dd><p>
       Connects to the target given by <em class="replaceable"><code>zurl</code></em>.
      </p></dd><dt><span class="term"><code class="literal">close</code>
      [<em class="replaceable"><code>zurl</code></em>]</span></dt><dd><p>
       Closes connection to target given by
       <em class="replaceable"><code>zurl</code></em> or all targets if
       <em class="replaceable"><code>zurl</code></em> was omitted.
      </p></dd><dt><span class="term"><code class="literal">show</code>
      [<em class="replaceable"><code>start</code></em>
      [<em class="replaceable"><code>count</code></em>]]
     </span></dt><dd><p>
       Displays <code class="literal">count</code> records starting at offset given
       by <em class="replaceable"><code>start</code></em>. First records has offset 0
       (unlike the Z39.50 protocol).
      </p></dd><dt><span class="term"><code class="literal">quit</code>
     </span></dt><dd><p>
       Quits <span class="command"><strong>zoomsh</strong></span>.
      </p></dd><dt><span class="term"><code class="literal">set</code>
      <em class="replaceable"><code>name</code></em>
      [<em class="replaceable"><code>value</code></em>]
     </span></dt><dd><p>
       Sets option <em class="replaceable"><code>name</code></em> to
       <em class="replaceable"><code>value</code></em>.
      </p></dd><dt><span class="term"><code class="literal">get</code>
      <em class="replaceable"><code>name</code></em>
     </span></dt><dd><p>
       Prints value of option <em class="replaceable"><code>name</code></em>.
      </p></dd><dt><span class="term"><code class="literal">help</code>
     </span></dt><dd><p>
       Prints list of available commands.
      </p></dd></dl></div></div><div class="refsect1"><a name="idp51745824"></a><h2>SEE ALSO</h2><p>
    <span class="citerefentry"><span class="refentrytitle">yaz</span>(7)</span>,
    <span class="citerefentry"><span class="refentrytitle">yaz-ztest</span>(8)</span>,
   </p><p>
    Section "Building clients with ZOOM" in the YAZ manual.
   </p><p>
    <a class="ulink" href="http://zoom.z3950.org/" target="_top">ZOOM home page</a>.
   </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="yaz.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="yaz-asncomp.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">yaz </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> yaz-asncomp</td></tr></table></div></body></html>