/usr/share/doc/stilts/sun256/secB.18.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 | <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="sqlupdate.html">Next</a> <a href="sqlskymatch-usage.html">Previous</a> <a href="sqlskymatch.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="sqlupdate.html">sqlupdate: Updates values in an SQL table</a><br>
<b>Up: </b><a href="sqlskymatch.html">sqlskymatch:
Crossmatches table on sky position against SQL table</a><br>
<b>Previous: </b><a href="sqlskymatch-usage.html">Usage</a><br>
<hr>
<h3><a name="secB.18.2">B.18.2 Examples</a></h3>
<p>Here are some examples of <code>sqlskymatch</code>:
<dl>
<dt><strong><pre>
stilts -classpath lib/drivers/mysql-connector-java.jar \
-Djdbc.drivers=com.mysql.jdbc.Driver
sqlskymatch in=messier.xml ra=RA dec=DEC sr=0.05 \
db='jdbc:mysql://localhost/ASTRO1' user=mbt \
dbtable=FIRST dbra=_RA2000 dbdec=_DE2000 \
out=matches.xml
</pre></strong></dt>
<dd>This performs a series of SELECT statements on the table FIRST
in the local MySQL database ASTRO1 to identify database objects in the
region of each object represented in the VOTable <code>messier.xml</code>.
The result, a join between the Messier and FIRST tables, is output
as a VOTable called <code>matches.xml</code>.
In this case a password has not been supplied on the command line,
so if one is required it will be prompted for on the console.
</dd>
</dl>
</p>
<hr><a href="sqlupdate.html">Next</a> <a href="sqlskymatch-usage.html">Previous</a> <a href="sqlskymatch.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="sqlupdate.html">sqlupdate: Updates values in an SQL table</a><br>
<b>Up: </b><a href="sqlskymatch.html">sqlskymatch:
Crossmatches table on sky position against SQL table</a><br>
<b>Previous: </b><a href="sqlskymatch-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>
|