This file is indexed.

/usr/share/doc/refdb/refdb-manual/ch08s07.html is in refdb-doc 1.0.2-3.

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

The actual contents of the file can be viewed below.

1
2
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Global edit references</title><link rel="stylesheet" type="text/css" href="manual.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="RefDB handbook" /><link rel="up" href="ch08.html" title="Chapter 8. Reference management" /><link rel="prev" href="ch08s06.html" title="Managing personal reference lists" /><link rel="next" href="ch08s08.html" title="Create periodical synonyms" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Global edit references</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch08s06.html">Prev</a> </td><th width="60%" align="center">Chapter 8. Reference management</th><td width="20%" align="right"> <a accesskey="n" href="ch08s08.html">Next</a></td></tr></table><hr /></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="idp68150752"></a>Global edit references</h2></div></div></div><p>RefDB has no special command for a global edit of all references or a group of references. You can get pretty far though with a default file when updating references and with Unix plumbing.</p><p>To change existing text:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Run a search on the references that you wish to change and pipe the output through sed into a file, like <span class="command"><strong><a class="link" href="re11.html#app-c-command-getref" title="getref">getref</a> -t ris -d bar -c "sed 's/foo/faa/g' &gt; refs.ris" "search-string"</strong></span>.</p></li><li class="listitem"><p>Use the command <span class="command"><strong><a class="link" href="re11.html#app-c-command-updateref" title="updateref">updateref</a> refs.ris</strong></span> to update the reference(s) in the database.</p></li></ul></div><p>To add or change fields:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Run a search on the references that you wish to change, like <span class="command"><strong><a class="link" href="re11.html#app-c-command-getref" title="getref">getref</a> -t ris -o refs.ris "search-string"</strong></span></p></li><li class="listitem"><p>Create a <code class="filename">defaultfile</code> containing the field(s) that you want to change or add.</p></li><li class="listitem"><p>Use the command <span class="command"><strong><a class="link" href="re11.html#app-c-command-updateref" title="updateref">updateref</a> -g defaultfile refs.ris</strong></span> to update the reference(s) in the database.</p></li></ul></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch08s06.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch08.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch08s08.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Managing personal reference lists </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Create periodical synonyms</td></tr></table></div></body></html>