/usr/share/doc/stilts/sun256/secB.15.2.html is in stilts-doc 3.1.2-2.
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 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="sun-style.css">
<title>Examples</title>
</head>
<body>
<hr>
<a href="server.html">Next</a> <a href="regquery-usage.html">Previous</a> <a href="regquery.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="server.html">server: </a><br>
<b>Up: </b><a href="regquery.html">regquery: Queries the VO registry</a><br>
<b>Previous: </b><a href="regquery-usage.html">Usage</a><br>
<hr>
<h3><a name="secB.15.2">B.15.2 Examples</a></h3>
<p>Here are some examples of <code>regquery</code>:
<dl>
<dt><strong><pre>
stilts regquery query="title like '%IRAS%'" ofmt=ascii out=iras.txt
</pre></strong></dt>
<dd>Retrieves all the records in the registry whose
<code>title</code> field contain the string "IRAS".
The '<code>%</code>' characters function
as wildcards for the ADQL <code>like</code> operator.
The output is written to a local ASCII table which can be examined
later.
</dd>
<dt><strong><pre>
stilts regquery query="capability/@standardID = 'ivo://ivoa.net/std/ConeSearch'
and curation/@publisher like '%astrogrid%'"
omode=count
</pre></strong></dt>
<dd>Searches for all resources which offer a cone search service and
are published by AstroGrid.
In this case the records are not stored, but the <code>omode=count</code>
output mode counts the rows.
This therefore tells you how many AstroGrid cone search services are
in the registry.
</dd>
<dt><strong><pre>
stilts regquery query="capability/@standardID = 'ivo://ivoa.net/std/SSA'"
ocmd="keepcols 'identifier accessUrl'"
ofmt=ascii out=-
</pre></strong></dt>
<dd>Queries the registry for all Simple Spectral Access services.
The <code>keepcols</code> filter takes the result and throws away
all the columns except for <code>identifier</code> and
<code>accessUrl</code>, and these are written to the terminal
int ASCII format.
</dd>
</dl>
</p>
<hr><a href="server.html">Next</a> <a href="regquery-usage.html">Previous</a> <a href="regquery.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="server.html">server: </a><br>
<b>Up: </b><a href="regquery.html">regquery: Queries the VO registry</a><br>
<b>Previous: </b><a href="regquery-usage.html">Usage</a><br>
<hr><i>STILTS - Starlink Tables Infrastructure Library Tool Set<br>Starlink User Note256<br>STILTS web page:
<a href="http://www.starlink.ac.uk/stilts/">http://www.starlink.ac.uk/stilts/</a><br>Author email:
<a href="mailto:m.b.taylor@bristol.ac.uk">m.b.taylor@bristol.ac.uk</a><br>Mailing list:
<a href="mailto:topcat-user@jiscmail.ac.uk">topcat-user@jiscmail.ac.uk</a><br></i></body>
</html>
|