/usr/share/doc/stilts/sun256/replacecol.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>replacecol</title>
</head>
<body>
<hr>
<a href="replaceval.html">Next</a> <a href="repeat.html">Previous</a> <a href="filterSteps.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="replaceval.html">replaceval</a><br>
<b>Up: </b><a href="filterSteps.html">Processing Filters</a><br>
<b>Previous: </b><a href="repeat.html">repeat</a><br>
<hr>
<h4><a name="replacecol">6.1.23 <code>replacecol</code></a></h4>
<p><strong>Usage:</strong>
<pre> replacecol [-name <name>] [-units <units>] [-ucd <ucd>] [-utype <utype>]
[-desc <descrip>]
<col-id> <expr></pre></p>
<p>Replaces the content of a column with the value of an
algebraic expression.
The old values are discarded in favour of the result of
evaluating <code><expr></code>.
You can specify the metadata for the new column using the
<code>-name</code>, <code>-units</code>, <code>-ucd</code>,
<code>-utype</code>
and <code>-desc</code> flags; for any of these items which you
do not specify, they will take the values from the column
being replaced.
</p>
<p>It is legal to reference the replaced column in the
expression,
so for example "<code>replacecol pixsize pixsize*2</code>"
just multiplies the values in column <code>pixsize</code> by 2.
</p>
<p>Syntax for the <a href="col-id.html"><code><col-id></code></a> and <a href="jel.html"><code><expr></code></a> arguments is described in the manual.
</p>
<hr><a href="replaceval.html">Next</a> <a href="repeat.html">Previous</a> <a href="filterSteps.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="replaceval.html">replaceval</a><br>
<b>Up: </b><a href="filterSteps.html">Processing Filters</a><br>
<b>Previous: </b><a href="repeat.html">repeat</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>
|