Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183902 - Error in code sample in conky documentation
Summary: Error in code sample in conky documentation
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: nm (RETIRED)
URL: http://www.gentoo.org/doc/en/conky-ho...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-01 23:00 UTC by Matthew Dawson
Modified: 2007-07-02 05:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Dawson 2007-07-01 23:00:14 UTC
At the end of the conky documentation, the second line in the code sample is missing an ending curly bracket ( ${execi 30 ~/scripts/emerge-status.sh ).  

Reproducible: Always

Steps to Reproduce:



Expected Results:  
The affected line should be:
${execi 30 ~/scripts/emerge-status.sh}

Patch to fix it:
--- conky-howto.xml.orig        2007-07-01 18:44:19.000000000 -0400
+++ conky-howto.xml     2007-07-01 18:44:52.000000000 -0400
@@ -223,7 +223,7 @@ cellpadding="0" border="0">
 examples</p></td></tr>
 <tr><td bgcolor="#eeeeff" align="left" dir="ltr"><pre>
 <span class="code-input">${exec grep 'sudo' /var/log/messages | tail -n 4}</span>
-<span class="code-input">${execi 30 ~/scripts/emerge-status.sh</span>
+<span class="code-input">${execi 30 ~/scripts/emerge-status.sh}</span>
 <span class="code-input">${texeci 600 ~/scripts/gmail.pl}</span>
 </pre></td></tr>
 </table>
Comment 1 nm (RETIRED) gentoo-dev 2007-07-02 05:19:30 UTC
Thanks for mentioning this. Just so you know for future reference, patches against the HTML are useless, as that is actually generated from an XML file which can be viewed by appending ?passthru=1 to any page on our website, e.g. http://www.gentoo.org/doc/en/conky-howto.xml?passthru=1

I'll fix this.
Comment 2 nm (RETIRED) gentoo-dev 2007-07-02 05:20:58 UTC
Fixed in CVS, thanks for reporting.