/usr/share/doc/augeas-doc/lenses/files/inifile-aug.html is in augeas-doc 1.2.0-0ubuntu1.3.
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 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>IniFile - Augeas Documentation</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org -->
<div id=Content><div class="CAugeasModule"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="IniFile"></a>IniFile</h1><div class=CBody><p>Generic module to create INI files lenses</p><p>Author: Raphael Pinson <a href="#" onClick="location.href='mai' + 'lto:' + 'rap' + 'hink' + '@' + 'gmai' + 'l.com'; return false;" class=LEMail>rap<span style="display: none">.nosp@m.</span>hink<span>@</span>gmai<span style="display: none">.nosp@m.</span>l.com</a></p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#IniFile" >IniFile</a></td><td class=SDescription>Generic module to create INI files lenses</td></tr><tr class="SGeneric SIndent1 SMarked"><td class=SEntry><a href="#IniFile.License" >License</a></td><td class=SDescription>This file is licensed under the LGPL v2+, like the rest of Augeas.</td></tr><tr class="SGeneric SIndent1"><td class=SEntry><a href="#IniFile.TODO" >TODO</a></td><td class=SDescription>Things to add in the future</td></tr><tr class="SGeneric SIndent1 SMarked"><td class=SEntry><a href="#IniFile.Lens_usage" >Lens usage</a></td><td class=SDescription>This lens is made to provide generic primitives to construct INI File lenses. </td></tr><tr class="SGeneric SIndent1"><td class=SEntry><a href="#IniFile.Examples" >Examples</a></td><td class=SDescription>The <a href="tests/test_inifile-aug.html#Test_IniFile" class=LAugeasModule id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">Test_IniFile</a> file contains various examples and tests.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#IniFile.USEFUL_PRIMITIVES" >USEFUL PRIMITIVES</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#IniFile.Internal_primitives" >Internal primitives</a></td><td class=SDescription></td></tr><tr class="SAugeasVariable SIndent2 SMarked"><td class=SEntry><a href="#IniFile.eol" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">eol</a></td><td class=SDescription>End of line, inherited from <a href="util-aug.html#Util.eol" class=LAugeasVariable id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">Util.eol</a></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#IniFile.Separators" >Separators</a></td><td class=SDescription></td></tr><tr class="SAugeasVariable SIndent2 SMarked"><td class=SEntry><a href="#IniFile.sep" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">sep</a></td><td class=SDescription>Generic separator</td></tr><tr class="SAugeasVariable SIndent2"><td class=SEntry><a href="#IniFile.sep_noindent" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">sep_noindent</a></td><td class=SDescription>Generic separator, no indentation</td></tr><tr class="SAugeasVariable SIndent2 SMarked"><td class=SEntry><a href="#IniFile.sep_re" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">sep_re</a></td><td class=SDescription>The default regexp for a separator</td></tr><tr class="SAugeasVariable SIndent2"><td class=SEntry><a href="#IniFile.sep_default" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">sep_default</a></td><td class=SDescription>The default separator value</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#IniFile.Stores" >Stores</a></td><td class=SDescription></td></tr><tr class="SAugeasVariable SIndent2 SMarked"><td class=SEntry><a href="#IniFile.sto_to_eol" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">sto_to_eol</a></td><td class=SDescription>Store until end of line</td></tr><tr class="SAugeasVariable SIndent2"><td class=SEntry><a href="#IniFile.to_comment_re" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">to_comment_re</a></td><td class=SDescription>Regex until comment</td></tr><tr class="SAugeasVariable SIndent2 SMarked"><td class=SEntry><a href="#IniFile.sto_to_comment" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')">sto_to_comment</a></td><td class=SDescription>Store until comment</td></tr><tr class="SAugeasVariable SIndent2"><td class=SEntry><a href="#IniFile.sto_multiline" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')">sto_multiline</a></td><td class=SDescription>Store multiline values</td></tr><tr class="SAugeasVariable SIndent2 SMarked"><td class=SEntry><a href="#IniFile.sto_multiline_nocomment" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')">sto_multiline_nocomment</a></td><td class=SDescription>Store multiline values without an end-of-line comment</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#IniFile.Define_comment_and_defaults" >Define comment and defaults</a></td><td class=SDescription></td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#IniFile.comment_noindent" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')">comment_noindent</a></td><td class=SDescription>Map comments into “#comment” nodes, no indentation allowed</td></tr><tr class="SAugeasLens SIndent2"><td class=SEntry><a href="#IniFile.comment" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')">comment</a></td><td class=SDescription>Map comments into “#comment” nodes</td></tr><tr class="SAugeasVariable SIndent2 SMarked"><td class=SEntry><a href="#IniFile.comment_re" id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')">comment_re</a></td><td class=SDescription>Default regexp for <a href="#IniFile.comment" class=LAugeasLens id=link16 onMouseOver="ShowTip(event, 'tt14', 'link16')" onMouseOut="HideTip('tt14')">comment</a> pattern</td></tr><tr class="SAugeasVariable SIndent2"><td class=SEntry><a href="#IniFile.comment_default" id=link17 onMouseOver="ShowTip(event, 'tt16', 'link17')" onMouseOut="HideTip('tt16')">comment_default</a></td><td class=SDescription>Default value for <a href="#IniFile.comment" class=LAugeasLens id=link18 onMouseOver="ShowTip(event, 'tt14', 'link18')" onMouseOut="HideTip('tt14')">comment</a> pattern</td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#IniFile.empty_generic" id=link19 onMouseOver="ShowTip(event, 'tt17', 'link19')" onMouseOut="HideTip('tt17')">empty_generic</a></td><td class=SDescription>Empty line, including empty comments</td></tr><tr class="SAugeasLens SIndent2"><td class=SEntry><a href="#IniFile.empty" id=link20 onMouseOver="ShowTip(event, 'tt18', 'link20')" onMouseOut="HideTip('tt18')">empty</a></td><td class=SDescription>Empty line</td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#IniFile.empty_noindent" id=link21 onMouseOver="ShowTip(event, 'tt19', 'link21')" onMouseOut="HideTip('tt19')">empty_noindent</a></td><td class=SDescription>Empty line, without indentation</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#IniFile.ENTRY" >ENTRY</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#IniFile.entry_includes_comments" >entry includes comments</a></td><td class=SDescription></td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#IniFile.entry_generic_nocomment" id=link22 onMouseOver="ShowTip(event, 'tt20', 'link22')" onMouseOut="HideTip('tt20')">entry_generic_nocomment</a></td><td class=SDescription>A very generic INI File entry, not including comments It allows to set the key lens (to set indentation or subnodes linked to the key) as well as the comment separator regexp, used to tune the store regexps.</td></tr><tr class="SAugeasLens SIndent2"><td class=SEntry><a href="#IniFile.entry_generic" id=link23 onMouseOver="ShowTip(event, 'tt21', 'link23')" onMouseOut="HideTip('tt21')">entry_generic</a></td><td class=SDescription>A very generic INI File entry It allows to set the key lens (to set indentation or subnodes linked to the key) as well as the comment separator regexp, used to tune the store regexps.</td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#IniFile.entry" id=link24 onMouseOver="ShowTip(event, 'tt22', 'link24')" onMouseOut="HideTip('tt22')">entry</a></td><td class=SDescription>Generic INI File entry</td></tr><tr class="SAugeasLens SIndent2"><td class=SEntry><a href="#IniFile.indented_entry" id=link25 onMouseOver="ShowTip(event, 'tt23', 'link25')" onMouseOut="HideTip('tt23')">indented_entry</a></td><td class=SDescription>Generic INI File entry that might be indented with an arbitrary amount of whitespace</td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#IniFile.entry_multiline_generic" id=link26 onMouseOver="ShowTip(event, 'tt24', 'link26')" onMouseOut="HideTip('tt24')">entry_multiline_generic</a></td><td class=SDescription>A very generic multiline INI File entry It allows to set the key lens (to set indentation or subnodes linked to the key) as well as the comment separator regexp, used to tune the store regexps.</td></tr><tr class="SAugeasLens SIndent2"><td class=SEntry><a href="#IniFile.entry_multiline" id=link27 onMouseOver="ShowTip(event, 'tt25', 'link27')" onMouseOut="HideTip('tt25')">entry_multiline</a></td><td class=SDescription>Generic multiline INI File entry</td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#IniFile.entry_multiline_nocomment" id=link28 onMouseOver="ShowTip(event, 'tt26', 'link28')" onMouseOut="HideTip('tt26')">entry_multiline_nocomment</a></td><td class=SDescription>Generic multiline INI File entry without an end-of-line comment</td></tr><tr class="SAugeasLens SIndent2"><td class=SEntry><a href="#IniFile.entry_list" id=link29 onMouseOver="ShowTip(event, 'tt27', 'link29')" onMouseOut="HideTip('tt27')">entry_list</a></td><td class=SDescription>Generic INI File list entry</td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#IniFile.entry_list_nocomment" id=link30 onMouseOver="ShowTip(event, 'tt28', 'link30')" onMouseOut="HideTip('tt28')">entry_list_nocomment</a></td><td class=SDescription>Generic INI File list entry without an end-of-line comment</td></tr><tr class="SAugeasVariable SIndent2"><td class=SEntry><a href="#IniFile.entry_re" id=link31 onMouseOver="ShowTip(event, 'tt29', 'link31')" onMouseOut="HideTip('tt29')">entry_re</a></td><td class=SDescription>Default regexp for <a href="#IniFile.entry" class=LAugeasLens id=link32 onMouseOver="ShowTip(event, 'tt22', 'link32')" onMouseOut="HideTip('tt22')">entry</a> keyword</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#IniFile.RECORD" >RECORD</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#IniFile.Title_definition" >Title definition</a></td><td class=SDescription></td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#IniFile.title" id=link33 onMouseOver="ShowTip(event, 'tt30', 'link33')" onMouseOut="HideTip('tt30')">title</a></td><td class=SDescription>Title for <a href="#IniFile.record" class=LAugeasLens id=link34 onMouseOver="ShowTip(event, 'tt31', 'link34')" onMouseOut="HideTip('tt31')">record</a>. </td></tr><tr class="SAugeasLens SIndent2"><td class=SEntry><a href="#IniFile.indented_title" id=link35 onMouseOver="ShowTip(event, 'tt32', 'link35')" onMouseOut="HideTip('tt32')">indented_title</a></td><td class=SDescription>Title for <a href="#IniFile.record" class=LAugeasLens id=link36 onMouseOver="ShowTip(event, 'tt31', 'link36')" onMouseOut="HideTip('tt31')">record</a>. </td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#IniFile.title_label" id=link37 onMouseOver="ShowTip(event, 'tt33', 'link37')" onMouseOut="HideTip('tt33')">title_label</a></td><td class=SDescription>Title for <a href="#IniFile.record" class=LAugeasLens id=link38 onMouseOver="ShowTip(event, 'tt31', 'link38')" onMouseOut="HideTip('tt31')">record</a>. </td></tr><tr class="SAugeasLens SIndent2"><td class=SEntry><a href="#IniFile.indented_title_label" id=link39 onMouseOver="ShowTip(event, 'tt34', 'link39')" onMouseOut="HideTip('tt34')">indented_title_label</a></td><td class=SDescription>Title for <a href="#IniFile.record" class=LAugeasLens id=link40 onMouseOver="ShowTip(event, 'tt31', 'link40')" onMouseOut="HideTip('tt31')">record</a>. </td></tr><tr class="SAugeasVariable SIndent2 SMarked"><td class=SEntry><a href="#IniFile.record_re" id=link41 onMouseOver="ShowTip(event, 'tt35', 'link41')" onMouseOut="HideTip('tt35')">record_re</a></td><td class=SDescription>Default regexp for <a href="#IniFile.title" class=LAugeasLens id=link42 onMouseOver="ShowTip(event, 'tt30', 'link42')" onMouseOut="HideTip('tt30')">title</a> keyword pattern</td></tr><tr class="SAugeasVariable SIndent2"><td class=SEntry><a href="#IniFile.record_label_re" id=link43 onMouseOver="ShowTip(event, 'tt36', 'link43')" onMouseOut="HideTip('tt36')">record_label_re</a></td><td class=SDescription>Default regexp for <a href="#IniFile.title_label" class=LAugeasLens id=link44 onMouseOver="ShowTip(event, 'tt33', 'link44')" onMouseOut="HideTip('tt33')">title_label</a> keyword pattern</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#IniFile.Record_definition" >Record definition</a></td><td class=SDescription></td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#IniFile.record_noempty" id=link45 onMouseOver="ShowTip(event, 'tt37', 'link45')" onMouseOut="HideTip('tt37')">record_noempty</a></td><td class=SDescription>INI File Record with no empty lines allowed.</td></tr><tr class="SAugeasLens SIndent2"><td class=SEntry><a href="#IniFile.record" id=link46 onMouseOver="ShowTip(event, 'tt31', 'link46')" onMouseOut="HideTip('tt31')">record</a></td><td class=SDescription>Generic INI File record</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#IniFile.GENERIC_LENSES" >GENERIC LENSES</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#IniFile.Lens_definition" >Lens definition</a></td><td class=SDescription></td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#IniFile.lns_noempty" id=link47 onMouseOver="ShowTip(event, 'tt38', 'link47')" onMouseOut="HideTip('tt38')">lns_noempty</a></td><td class=SDescription>Generic INI File lens with no empty lines</td></tr><tr class="SAugeasLens SIndent2"><td class=SEntry><a href="#IniFile.lns" id=link48 onMouseOver="ShowTip(event, 'tt39', 'link48')" onMouseOut="HideTip('tt39')">lns</a></td><td class=SDescription>Generic INI File lens</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#IniFile.READY-TO-USE_LENSES" >READY-TO-USE LENSES</a></td><td class=SDescription></td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#IniFile.lns_loose" id=link49 onMouseOver="ShowTip(event, 'tt40', 'link49')" onMouseOut="HideTip('tt40')">lns_loose</a></td><td class=SDescription></td></tr><tr class="SAugeasLens SIndent2"><td class=SEntry><a href="#IniFile.lns_loose_multiline" id=link50 onMouseOver="ShowTip(event, 'tt41', 'link50')" onMouseOut="HideTip('tt41')">lns_loose_multiline</a></td><td class=SDescription></td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="IniFile.License"></a>License</h3><div class=CBody><p>This file is licensed under the LGPL v2+, like the rest of Augeas.</p></div></div></div>
<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="IniFile.TODO"></a>TODO</h3><div class=CBody><p>Things to add in the future</p><ul><li>Support double quotes in value</li></ul></div></div></div>
<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="IniFile.Lens_usage"></a>Lens usage</h3><div class=CBody><p>This lens is made to provide generic primitives to construct INI File lenses. See <Puppet>, <PHP>, <MySQL> or <Dput> for examples of real life lenses using it.</p></div></div></div>
<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="IniFile.Examples"></a>Examples</h3><div class=CBody><p>The <a href="tests/test_inifile-aug.html#Test_IniFile" class=LAugeasModule id=link51 onMouseOver="ShowTip(event, 'tt1', 'link51')" onMouseOut="HideTip('tt1')">Test_IniFile</a> file contains various examples and tests.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="IniFile.USEFUL_PRIMITIVES"></a>USEFUL PRIMITIVES</h3></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="IniFile.Internal_primitives"></a>Internal primitives</h3></div></div>
<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="IniFile.eol"></a>eol</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let eol = Util.doseol
</td></tr></table></blockquote><p>End of line, inherited from <a href="util-aug.html#Util.eol" class=LAugeasVariable id=link52 onMouseOver="ShowTip(event, 'tt3', 'link52')" onMouseOut="HideTip('tt3')">Util.eol</a></p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="IniFile.Separators"></a>Separators</h3></div></div>
<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="IniFile.sep"></a>sep</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sep (pat:regexp) (default:string)
= Sep.opt_space . del pat default
</td></tr></table></blockquote><p>Generic separator</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pat:regexp</td><td class=CDLDescription>the pattern to delete</td></tr><tr><td class=CDLEntry>default:string</td><td class=CDLDescription>the default string to use</td></tr></table></div></div></div>
<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="IniFile.sep_noindent"></a>sep_noindent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sep_noindent (pat:regexp) (default:string)
= del pat default
</td></tr></table></blockquote><p>Generic separator, no indentation</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pat:regexp</td><td class=CDLDescription>the pattern to delete</td></tr><tr><td class=CDLEntry>default:string</td><td class=CDLDescription>the default string to use</td></tr></table></div></div></div>
<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="IniFile.sep_re"></a>sep_re</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sep_re = /[=:]/
</td></tr></table></blockquote><p>The default regexp for a separator</p></div></div></div>
<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="IniFile.sep_default"></a>sep_default</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sep_default = "="
</td></tr></table></blockquote><p>The default separator value</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="IniFile.Stores"></a>Stores</h3></div></div>
<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="IniFile.sto_to_eol"></a>sto_to_eol</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sto_to_eol = Sep.opt_space . store Rx.space_in
</td></tr></table></blockquote><p>Store until end of line</p></div></div></div>
<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="IniFile.to_comment_re"></a>to_comment_re</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let to_comment_re = /[^";# \t\n][^";#\n]*[^";# \t\n]|[^";# \t\n]/
</td></tr></table></blockquote><p>Regex until comment</p></div></div></div>
<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="IniFile.sto_to_comment"></a>sto_to_comment</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sto_to_comment = Sep.opt_space . store to_comment_re
</td></tr></table></blockquote><p>Store until comment</p></div></div></div>
<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="IniFile.sto_multiline"></a>sto_multiline</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sto_multiline = Sep.opt_space
. store (to_comment_re
. (/[ \t]*\n/ . Rx.space . to_comment_re)*)
</td></tr></table></blockquote><p>Store multiline values</p></div></div></div>
<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="IniFile.sto_multiline_nocomment"></a>sto_multiline_nocomment</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sto_multiline_nocomment = Sep.opt_space
. store (Rx.space_in . (/[ \t]*\n/ . Rx.space . Rx.space_in)*)
</td></tr></table></blockquote><p>Store multiline values without an end-of-line comment</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="IniFile.Define_comment_and_defaults"></a>Define comment and defaults</h3></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.comment_noindent"></a>comment_noindent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let comment_noindent (pat:regexp) (default:string) =
Util.comment_generic_seteol (pat . Rx.opt_space) default eol
</td></tr></table></blockquote><p>Map comments into “#comment” nodes, no indentation allowed</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pat:regexp</td><td class=CDLDescription>pattern to delete before commented data</td></tr><tr><td class=CDLEntry>default:string</td><td class=CDLDescription>default pattern before commented data</td></tr></table><h4 class=CHeading>Sample Usage</h4><blockquote><pre class="prettyprint">let comment = IniFile.comment_noindent "#" "#"
let comment = IniFile.comment_noindent IniFile.comment_re IniFile.comment_default</pre></blockquote></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.comment"></a>comment</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let comment (pat:regexp) (default:string) =
Util.comment_generic_seteol (Rx.opt_space . pat . Rx.opt_space) default eol
</td></tr></table></blockquote><p>Map comments into “#comment” nodes</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pat:regexp</td><td class=CDLDescription>pattern to delete before commented data</td></tr><tr><td class=CDLEntry>default:string</td><td class=CDLDescription>default pattern before commented data</td></tr></table><h4 class=CHeading>Sample Usage</h4><blockquote><pre class="prettyprint">let comment = IniFile.comment "#" "#"
let comment = IniFile.comment IniFile.comment_re IniFile.comment_default</pre></blockquote></div></div></div>
<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="IniFile.comment_re"></a>comment_re</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let comment_re = /[;#]/
</td></tr></table></blockquote><p>Default regexp for <a href="#IniFile.comment" class=LAugeasLens id=link53 onMouseOver="ShowTip(event, 'tt14', 'link53')" onMouseOut="HideTip('tt14')">comment</a> pattern</p></div></div></div>
<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="IniFile.comment_default"></a>comment_default</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let comment_default = ";"
</td></tr></table></blockquote><p>Default value for <a href="#IniFile.comment" class=LAugeasLens id=link54 onMouseOver="ShowTip(event, 'tt14', 'link54')" onMouseOut="HideTip('tt14')">comment</a> pattern</p></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.empty_generic"></a>empty_generic</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let empty_generic (indent:regexp) (comment_re:regexp) =
Util.empty_generic_dos (indent . comment_re? . Rx.opt_space)
</td></tr></table></blockquote><p>Empty line, including empty comments</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>indent:regexp</td><td class=CDLDescription>the indentation regexp</td></tr><tr><td class=CDLEntry>comment_re:regexp</td><td class=CDLDescription>the comment separator regexp</td></tr></table></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.empty"></a>empty</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let empty = empty_generic Rx.opt_space comment_re
</td></tr></table></blockquote><p>Empty line</p></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.empty_noindent"></a>empty_noindent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let empty_noindent = empty_generic "" comment_re
</td></tr></table></blockquote><p>Empty line, without indentation</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="IniFile.ENTRY"></a>ENTRY</h3></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="IniFile.entry_includes_comments"></a>entry includes comments</h3></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.entry_generic_nocomment"></a>entry_generic_nocomment</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry_generic_nocomment (kw:lens) (sep:lens)
(comment_re:regexp) (comment:lens) =
let bare_re_noquot = (/[^" \t\r\n]/ - comment_re)
in let bare_re = (/[^\r\n]/ - comment_re)+
in let no_quot = /[^"\r\n]*/
in let bare = Quote.do_dquote_opt_nil (store (bare_re_noquot . (bare_re* . bare_re_noquot)?))
in let quoted = Quote.do_dquote (store (no_quot . comment_re+ . no_quot))
in [ kw . sep . (Sep.opt_space . bare)? . (comment|eol) ]
| [ kw . sep . Sep.opt_space . quoted . (comment|eol) ]
</td></tr></table></blockquote><p>A very generic INI File entry, not including comments It allows to set the key lens (to set indentation or subnodes linked to the key) as well as the comment separator regexp, used to tune the store regexps.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>kw:lens</td><td class=CDLDescription>lens to match the key, including optional indentation</td></tr><tr><td class=CDLEntry>sep:lens</td><td class=CDLDescription>lens to use as key/value separator</td></tr><tr><td class=CDLEntry>comment_re:regexp</td><td class=CDLDescription>comment separator regexp</td></tr><tr><td class=CDLEntry>comment:lens</td><td class=CDLDescription>lens to use as comment</td></tr></table><h4 class=CHeading>Sample Usage</h4><blockquote><pre>let entry = IniFile.entry_generic (key "setting") sep IniFile.comment_re comment</pre></blockquote></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.entry_generic"></a>entry_generic</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry_generic (kw:lens) (sep:lens) (comment_re:regexp) (comment:lens) =
entry_generic_nocomment kw sep comment_re comment | comment
</td></tr></table></blockquote><p>A very generic INI File entry It allows to set the key lens (to set indentation or subnodes linked to the key) as well as the comment separator regexp, used to tune the store regexps.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>kw:lens</td><td class=CDLDescription>lens to match the key, including optional indentation</td></tr><tr><td class=CDLEntry>sep:lens</td><td class=CDLDescription>lens to use as key/value separator</td></tr><tr><td class=CDLEntry>comment_re:regexp</td><td class=CDLDescription>comment separator regexp</td></tr><tr><td class=CDLEntry>comment:lens</td><td class=CDLDescription>lens to use as comment</td></tr></table><h4 class=CHeading>Sample Usage</h4><blockquote><pre>let entry = IniFile.entry_generic (key "setting") sep IniFile.comment_re comment</pre></blockquote></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.entry"></a>entry</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry (kw:regexp) (sep:lens) (comment:lens) =
entry_generic (key kw) sep comment_re comment
</td></tr></table></blockquote><p>Generic INI File entry</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>kw:regexp</td><td class=CDLDescription>keyword regexp for the label</td></tr><tr><td class=CDLEntry>sep:lens</td><td class=CDLDescription>lens to use as key/value separator</td></tr><tr><td class=CDLEntry>comment:lens</td><td class=CDLDescription>lens to use as comment</td></tr></table><h4 class=CHeading>Sample Usage</h4><blockquote><pre>let entry = IniFile.entry setting sep comment</pre></blockquote></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.indented_entry"></a>indented_entry</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let indented_entry (kw:regexp) (sep:lens) (comment:lens) =
entry_generic (Util.indent . key kw) sep comment_re comment
</td></tr></table></blockquote><p>Generic INI File entry that might be indented with an arbitrary amount of whitespace</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>kw:regexp</td><td class=CDLDescription>keyword regexp for the label</td></tr><tr><td class=CDLEntry>sep:lens</td><td class=CDLDescription>lens to use as key/value separator</td></tr><tr><td class=CDLEntry>comment:lens</td><td class=CDLDescription>lens to use as comment</td></tr></table><h4 class=CHeading>Sample Usage</h4><blockquote><pre>let entry = IniFile.indented_entry setting sep comment</pre></blockquote></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.entry_multiline_generic"></a>entry_multiline_generic</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry_multiline_generic (kw:lens) (sep:lens) (comment_re:regexp)
(comment:lens) (eol:lens) =
let newline = /\r?\n[ \t]+/
in let bare =
let word_re_noquot = (/[^" \t\r\n]/ - comment_re)+
in let word_re = (/[^\r\n]/ - comment_re)+
in let base_re = (word_re_noquot . (word_re* . word_re_noquot)?)
in let sto_re = base_re . (newline . base_re)*
| (newline . base_re)+
in Quote.do_dquote_opt_nil (store sto_re)
in let quoted =
let no_quot = /[^"\r\n]*/
in let base_re = (no_quot . comment_re+ . no_quot)
in let sto_re = base_re . (newline . base_re)*
| (newline . base_re)+
in Quote.do_dquote (store sto_re)
in [ kw . sep . (Sep.opt_space . bare)? . eol ]
| [ kw . sep . Sep.opt_space . quoted . eol ]
| comment
</td></tr></table></blockquote><p>A very generic multiline INI File entry It allows to set the key lens (to set indentation or subnodes linked to the key) as well as the comment separator regexp, used to tune the store regexps.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>kw:lens</td><td class=CDLDescription>lens to match the key, including optional indentation</td></tr><tr><td class=CDLEntry>sep:lens</td><td class=CDLDescription>lens to use as key/value separator</td></tr><tr><td class=CDLEntry>comment_re:regexp</td><td class=CDLDescription>comment separator regexp</td></tr><tr><td class=CDLEntry>comment:lens</td><td class=CDLDescription>lens to use as comment</td></tr><tr><td class=CDLEntry>eol:lens</td><td class=CDLDescription>lens for end of line</td></tr></table><h4 class=CHeading>Sample Usage</h4><blockquote><pre>let entry = IniFile.entry_generic (key "setting") sep IniFile.comment_re comment comment_or_eol</pre></blockquote></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.entry_multiline"></a>entry_multiline</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry_multiline (kw:regexp) (sep:lens) (comment:lens) =
entry_multiline_generic (key kw) sep comment_re comment (comment|eol)
</td></tr></table></blockquote><p>Generic multiline INI File entry</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>kw:regexp</td><td class=CDLDescription>keyword regexp for the label</td></tr><tr><td class=CDLEntry>sep:lens</td><td class=CDLDescription>lens to use as key/value separator</td></tr><tr><td class=CDLEntry>comment:lens</td><td class=CDLDescription>lens to use as comment</td></tr></table></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.entry_multiline_nocomment"></a>entry_multiline_nocomment</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry_multiline_nocomment (kw:regexp) (sep:lens) (comment:lens) =
entry_multiline_generic (key kw) sep comment_re comment eol
</td></tr></table></blockquote><p>Generic multiline INI File entry without an end-of-line comment</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>kw:regexp</td><td class=CDLDescription>keyword regexp for the label</td></tr><tr><td class=CDLEntry>sep:lens</td><td class=CDLDescription>lens to use as key/value separator</td></tr><tr><td class=CDLEntry>comment:lens</td><td class=CDLDescription>lens to use as comment</td></tr></table></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.entry_list"></a>entry_list</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry_list (kw:regexp) (sep:lens) (sto:regexp) (list_sep:lens) (comment:lens) =
let list = counter "elem"
. Build.opt_list [ seq "elem" . store sto ] list_sep
in Build.key_value_line_comment kw sep (Sep.opt_space . list) comment
</td></tr></table></blockquote><p>Generic INI File list entry</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>kw:regexp</td><td class=CDLDescription>keyword regexp for the label</td></tr><tr><td class=CDLEntry>sep:lens</td><td class=CDLDescription>lens to use as key/value separator</td></tr><tr><td class=CDLEntry>sto:regexp</td><td class=CDLDescription>store regexp for the values</td></tr><tr><td class=CDLEntry>list_sep:lens</td><td class=CDLDescription>lens to use as list separator</td></tr><tr><td class=CDLEntry>comment:lens</td><td class=CDLDescription>lens to use as comment</td></tr></table></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.entry_list_nocomment"></a>entry_list_nocomment</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry_list_nocomment (kw:regexp) (sep:lens) (sto:regexp) (list_sep:lens) =
let list = counter "elem"
. Build.opt_list [ seq "elem" . store sto ] list_sep
in Build.key_value_line kw sep (Sep.opt_space . list)
</td></tr></table></blockquote><p>Generic INI File list entry without an end-of-line comment</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>kw:regexp</td><td class=CDLDescription>keyword regexp for the label</td></tr><tr><td class=CDLEntry>sep:lens</td><td class=CDLDescription>lens to use as key/value separator</td></tr><tr><td class=CDLEntry>sto:regexp</td><td class=CDLDescription>store regexp for the values</td></tr><tr><td class=CDLEntry>list_sep:lens</td><td class=CDLDescription>lens to use as list separator</td></tr></table></div></div></div>
<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="IniFile.entry_re"></a>entry_re</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry_re = ( /[A-Za-z][A-Za-z0-9._-]+/ )
</td></tr></table></blockquote><p>Default regexp for <a href="#IniFile.entry" class=LAugeasLens id=link55 onMouseOver="ShowTip(event, 'tt22', 'link55')" onMouseOut="HideTip('tt22')">entry</a> keyword</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="IniFile.RECORD"></a>RECORD</h3></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="IniFile.Title_definition"></a>Title definition</h3></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.title"></a>title</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let title (kw:regexp)
= Util.del_str "[" . key kw
. Util.del_str "]". eol
</td></tr></table></blockquote><p>Title for <a href="#IniFile.record" class=LAugeasLens id=link56 onMouseOver="ShowTip(event, 'tt31', 'link56')" onMouseOut="HideTip('tt31')">record</a>. This maps the title of a record as a node in the abstract tree.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>kw:regexp</td><td class=CDLDescription>keyword regexp for the label</td></tr></table><h4 class=CHeading>Sample Usage</h4><blockquote><pre>let title = IniFile.title IniFile.record_re</pre></blockquote></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.indented_title"></a>indented_title</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let indented_title (kw:regexp)
= Util.indent . title kw
</td></tr></table></blockquote><p>Title for <a href="#IniFile.record" class=LAugeasLens id=link57 onMouseOver="ShowTip(event, 'tt31', 'link57')" onMouseOut="HideTip('tt31')">record</a>. This maps the title of a record as a node in the abstract tree. The title may be indented with arbitrary amounts of whitespace</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>kw:regexp</td><td class=CDLDescription>keyword regexp for the label</td></tr></table><h4 class=CHeading>Sample Usage</h4><blockquote><pre>let title = IniFile.title IniFile.record_re</pre></blockquote></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.title_label"></a>title_label</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let title_label (name:string) (kw:regexp)
= label name
. Util.del_str "[" . store kw
. Util.del_str "]". eol
</td></tr></table></blockquote><p>Title for <a href="#IniFile.record" class=LAugeasLens id=link58 onMouseOver="ShowTip(event, 'tt31', 'link58')" onMouseOut="HideTip('tt31')">record</a>. This maps the title of a record as a value in the abstract tree.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>name:string</td><td class=CDLDescription>name for the title label</td></tr><tr><td class=CDLEntry>kw:regexp</td><td class=CDLDescription>keyword regexp for the label</td></tr></table><h4 class=CHeading>Sample Usage</h4><blockquote><pre>let title = IniFile.title_label "target" IniFile.record_label_re</pre></blockquote></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.indented_title_label"></a>indented_title_label</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let indented_title_label (name:string) (kw:regexp)
= Util.indent . title_label name kw
</td></tr></table></blockquote><p>Title for <a href="#IniFile.record" class=LAugeasLens id=link59 onMouseOver="ShowTip(event, 'tt31', 'link59')" onMouseOut="HideTip('tt31')">record</a>. This maps the title of a record as a value in the abstract tree. The title may be indented with arbitrary amounts of whitespace</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>name:string</td><td class=CDLDescription>name for the title label</td></tr><tr><td class=CDLEntry>kw:regexp</td><td class=CDLDescription>keyword regexp for the label</td></tr></table><h4 class=CHeading>Sample Usage</h4><blockquote><pre>let title = IniFile.title_label "target" IniFile.record_label_re</pre></blockquote></div></div></div>
<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="IniFile.record_re"></a>record_re</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let record_re = ( /[^]\r\n\/]+/ - /#comment/ )
</td></tr></table></blockquote><p>Default regexp for <a href="#IniFile.title" class=LAugeasLens id=link60 onMouseOver="ShowTip(event, 'tt30', 'link60')" onMouseOut="HideTip('tt30')">title</a> keyword pattern</p></div></div></div>
<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="IniFile.record_label_re"></a>record_label_re</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let record_label_re = /[^]\r\n]+/
</td></tr></table></blockquote><p>Default regexp for <a href="#IniFile.title_label" class=LAugeasLens id=link61 onMouseOver="ShowTip(event, 'tt33', 'link61')" onMouseOut="HideTip('tt33')">title_label</a> keyword pattern</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="IniFile.Record_definition"></a>Record definition</h3></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.record_noempty"></a>record_noempty</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let record_noempty (title:lens) (entry:lens)
= [ title
. entry* ]
</td></tr></table></blockquote><p>INI File Record with no empty lines allowed.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>title:lens</td><td class=CDLDescription>lens to use for title. Use either <a href="#IniFile.title" class=LAugeasLens id=link62 onMouseOver="ShowTip(event, 'tt30', 'link62')" onMouseOut="HideTip('tt30')">title</a> or <a href="#IniFile.title_label" class=LAugeasLens id=link63 onMouseOver="ShowTip(event, 'tt33', 'link63')" onMouseOut="HideTip('tt33')">title_label</a>.</td></tr><tr><td class=CDLEntry>entry:lens</td><td class=CDLDescription>lens to use for entries in the record. See <a href="#IniFile.entry" class=LAugeasLens id=link64 onMouseOver="ShowTip(event, 'tt22', 'link64')" onMouseOut="HideTip('tt22')">entry</a>.</td></tr></table></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.record"></a>record</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let record (title:lens) (entry:lens)
= record_noempty title ( entry | empty )
</td></tr></table></blockquote><p>Generic INI File record</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>title:lens</td><td class=CDLDescription>lens to use for title. Use either <a href="#IniFile.title" class=LAugeasLens id=link65 onMouseOver="ShowTip(event, 'tt30', 'link65')" onMouseOut="HideTip('tt30')">title</a> or <a href="#IniFile.title_label" class=LAugeasLens id=link66 onMouseOver="ShowTip(event, 'tt33', 'link66')" onMouseOut="HideTip('tt33')">title_label</a>.</td></tr><tr><td class=CDLEntry>entry:lens</td><td class=CDLDescription>lens to use for entries in the record. See <a href="#IniFile.entry" class=LAugeasLens id=link67 onMouseOver="ShowTip(event, 'tt22', 'link67')" onMouseOut="HideTip('tt22')">entry</a>.</td></tr></table><h4 class=CHeading>Sample Usage</h4><blockquote><pre>let record = IniFile.record title entry</pre></blockquote></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="IniFile.GENERIC_LENSES"></a>GENERIC LENSES</h3></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="IniFile.Lens_definition"></a>Lens definition</h3></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.lns_noempty"></a>lns_noempty</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let lns_noempty (record:lens) (comment:lens)
= comment* . record*
</td></tr></table></blockquote><p>Generic INI File lens with no empty lines</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>record:lens</td><td class=CDLDescription>record lens to use. See <a href="#IniFile.record_noempty" class=LAugeasLens id=link68 onMouseOver="ShowTip(event, 'tt37', 'link68')" onMouseOut="HideTip('tt37')">record_noempty</a>.</td></tr><tr><td class=CDLEntry>comment:lens</td><td class=CDLDescription>comment lens to use. See <a href="#IniFile.comment" class=LAugeasLens id=link69 onMouseOver="ShowTip(event, 'tt14', 'link69')" onMouseOut="HideTip('tt14')">comment</a>.</td></tr></table><h4 class=CHeading>Sample Usage</h4><blockquote><pre>let lns = IniFile.lns_noempty record comment</pre></blockquote></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.lns"></a>lns</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let lns (record:lens) (comment:lens)
= lns_noempty record (comment|empty)
</td></tr></table></blockquote><p>Generic INI File lens</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>record:lens</td><td class=CDLDescription>record lens to use. See <a href="#IniFile.record" class=LAugeasLens id=link70 onMouseOver="ShowTip(event, 'tt31', 'link70')" onMouseOut="HideTip('tt31')">record</a>.</td></tr><tr><td class=CDLEntry>comment:lens</td><td class=CDLDescription>comment lens to use. See <a href="#IniFile.comment" class=LAugeasLens id=link71 onMouseOver="ShowTip(event, 'tt14', 'link71')" onMouseOut="HideTip('tt14')">comment</a>.</td></tr></table><h4 class=CHeading>Sample Usage</h4><blockquote><pre>let lns = IniFile.lns record comment</pre></blockquote></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="IniFile.READY-TO-USE_LENSES"></a>READY-TO-USE LENSES</h3></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.lns_loose"></a>lns_loose</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let lns_loose =
let l_comment = comment comment_re comment_default
in let l_sep = sep sep_re sep_default
in let l_entry = indented_entry entry_re l_sep l_comment
in let l_title = indented_title_label "section" (record_label_re - ".anon")
in let l_record = record l_title l_entry
in (record_anon l_entry)? . l_record*
</td></tr></table></blockquote><h4 class=CHeading>A loose, ready-to-use lens, featuring</h4><ul><li>sections as values (to allow ‘/’ in names)</li><li>support empty lines and comments</li><li>support for [#;] as comment, defaulting to “;”</li><li>.anon sections</li><li>don’t allow multiline values</li><li>allow indented titles</li><li>allow indented entries</li></ul></div></div></div>
<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="IniFile.lns_loose_multiline"></a>lns_loose_multiline</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let lns_loose_multiline =
let l_comment = comment comment_re comment_default
in let l_sep = sep sep_re sep_default
in let l_entry = entry_multiline entry_re l_sep l_comment
in let l_title = title_label "section" (record_label_re - ".anon")
in let l_record = record l_title l_entry
in (record_anon l_entry)? . l_record*
</td></tr></table></blockquote><h4 class=CHeading>A loose, ready-to-use lens, featuring</h4><ul><li>sections as values (to allow ‘/’ in names)</li><li>support empty lines and comments</li><li>support for [#;] as comment, defaulting to “;”</li><li>.anon sections</li><li>allow multiline values</li></ul></div></div></div>
</div><!--Content-->
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
<div id=Menu><div class=MTitle>Augeas Documentation<div class=MSubTitle>Modules</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Main Site</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MLink><a href="/index.html">Main</a></div></div><div class=MEntry><div class=MLink><a href="/docs/index.html">Documentation</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Specific Modules</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="access-aug.html">Access</a></div></div><div class=MEntry><div class=MFile><a href="activemq_conf-aug.html">ActiveMQ_Conf</a></div></div><div class=MEntry><div class=MFile><a href="activemq_xml-aug.html">ActiveMQ_XML</a></div></div><div class=MEntry><div class=MFile><a href="aliases-aug.html">Aliases</a></div></div><div class=MEntry><div class=MFile><a href="anacron-aug.html">Anacron</a></div></div><div class=MEntry><div class=MFile><a href="approx-aug.html">Approx</a></div></div><div class=MEntry><div class=MFile><a href="apt_update_manager-aug.html">Apt_Update_Manager</a></div></div><div class=MEntry><div class=MFile><a href="aptcacherngsecurity-aug.html">AptCacherNGSecurity</a></div></div><div class=MEntry><div class=MFile><a href="aptconf-aug.html">AptConf</a></div></div><div class=MEntry><div class=MFile><a href="aptpreferences-aug.html">AptPreferences</a></div></div><div class=MEntry><div class=MFile><a href="aptsources-aug.html">Aptsources</a></div></div><div class=MEntry><div class=MFile><a href="authorized_keys-aug.html">Authorized_Keys</a></div></div><div class=MEntry><div class=MFile><a href="automaster-aug.html">Automaster</a></div></div><div class=MEntry><div class=MFile><a href="automounter-aug.html">Automounter</a></div></div><div class=MEntry><div class=MFile><a href="avahi-aug.html">Avahi</a></div></div><div class=MEntry><div class=MFile><a href="backuppchosts-aug.html">BackupPCHosts</a></div></div><div class=MEntry><div class=MFile><a href="bootconf-aug.html">BootConf</a></div></div><div class=MEntry><div class=MFile><a href="cachefilesd-aug.html">Cachefilesd</a></div></div><div class=MEntry><div class=MFile><a href="carbon-aug.html">Carbon</a></div></div><div class=MEntry><div class=MFile><a href="cgconfig-aug.html">Cgconfig</a></div></div><div class=MEntry><div class=MFile><a href="cgrules-aug.html">Cgrules</a></div></div><div class=MEntry><div class=MFile><a href="channels-aug.html">Channels</a></div></div><div class=MEntry><div class=MFile><a href="collectd-aug.html">Collectd</a></div></div><div class=MEntry><div class=MFile><a href="cron-aug.html">Cron</a></div></div><div class=MEntry><div class=MFile><a href="crypttab-aug.html">Crypttab</a></div></div><div class=MEntry><div class=MFile><a href="cups-aug.html">Cups</a></div></div><div class=MEntry><div class=MFile><a href="debctrl-aug.html">Debctrl</a></div></div><div class=MEntry><div class=MFile><a href="desktop-aug.html">Desktop</a></div></div><div class=MEntry><div class=MFile><a href="dhcpd-aug.html">Dhcpd</a></div></div><div class=MEntry><div class=MFile><a href="dovecot-aug.html">Dovecot</a></div></div><div class=MEntry><div class=MFile><a href="dpkg-aug.html">Dpkg</a></div></div><div class=MEntry><div class=MFile><a href="exports-aug.html">Exports</a></div></div><div class=MEntry><div class=MFile><a href="fai_diskconfig-aug.html">FAI_DiskConfig</a></div></div><div class=MEntry><div class=MFile><a href="fonts-aug.html">Fonts</a></div></div><div class=MEntry><div class=MFile><a href="fuse-aug.html">Fuse</a></div></div><div class=MEntry><div class=MFile><a href="grub-aug.html">Grub</a></div></div><div class=MEntry><div class=MFile><a href="gtkbookmarks-aug.html">GtkBookmarks</a></div></div><div class=MEntry><div class=MFile><a href="host_conf-aug.html">Host_Conf</a></div></div><div class=MEntry><div class=MFile><a href="hostname-aug.html">Hostname</a></div></div><div class=MEntry><div class=MFile><a href="hosts_access-aug.html">Hosts_Access</a></div></div><div class=MEntry><div class=MFile><a href="htpasswd-aug.html">Htpasswd</a></div></div><div class=MEntry><div class=MFile><a href="inputrc-aug.html">Inputrc</a></div></div><div class=MEntry><div class=MFile><a href="jettyrealm-aug.html">JettyRealm</a></div></div><div class=MEntry><div class=MFile><a href="jmxaccess-aug.html">JMXAccess</a></div></div><div class=MEntry><div class=MFile><a href="jmxpassword-aug.html">JMXPassword</a></div></div><div class=MEntry><div class=MFile><a href="iptables-aug.html">Iptables</a></div></div><div class=MEntry><div class=MFile><a href="kdump-aug.html">Kdump</a></div></div><div class=MEntry><div class=MFile><a href="keepalived-aug.html">Keepalived</a></div></div><div class=MEntry><div class=MFile><a href="koji-aug.html">Koji</a></div></div><div class=MEntry><div class=MFile><a href="ldif-aug.html">Ldif</a></div></div><div class=MEntry><div class=MFile><a href="ldso-aug.html">Ldso</a></div></div><div class=MEntry><div class=MFile><a href="lightdm-aug.html">Lightdm</a></div></div><div class=MEntry><div class=MFile><a href="login_defs-aug.html">Login_defs</a></div></div><div class=MEntry><div class=MFile><a href="lokkit-aug.html">Lokkit</a></div></div><div class=MEntry><div class=MFile><a href="lvm-aug.html">LVM</a></div></div><div class=MEntry><div class=MFile><a href="mcollective-aug.html">MCollective</a></div></div><div class=MEntry><div class=MFile><a href="memcached-aug.html">Memcached</a></div></div><div class=MEntry><div class=MFile><a href="mke2fs-aug.html">Mke2fs</a></div></div><div class=MEntry><div class=MFile><a href="modprobe-aug.html">Modprobe</a></div></div><div class=MEntry><div class=MFile><a href="mongodbserver-aug.html">MongoDBServer</a></div></div><div class=MEntry><div class=MFile><a href="modules-aug.html">Modules</a></div></div><div class=MEntry><div class=MFile><a href="modules_conf-aug.html">Modules_conf</a></div></div><div class=MEntry><div class=MFile><a href="nagioscfg-aug.html">NagiosCfg</a></div></div><div class=MEntry><div class=MFile><a href="nagiosobjects-aug.html">NagiosObjects</a></div></div><div class=MEntry><div class=MFile><a href="netmasks-aug.html">Netmasks</a></div></div><div class=MEntry><div class=MFile><a href="networkmanager-aug.html">NetworkManager</a></div></div><div class=MEntry><div class=MFile><a href="networks-aug.html">Networks</a></div></div><div class=MEntry><div class=MFile><a href="nginx-aug.html">Nginx</a></div></div><div class=MEntry><div class=MFile><a href="nrpe-aug.html">Nrpe</a></div></div><div class=MEntry><div class=MFile><a href="nsswitch-aug.html">Nsswitch</a></div></div><div class=MEntry><div class=MFile><a href="ntpd-aug.html">Ntpd</a></div></div><div class=MEntry><div class=MFile><a href="openshift_config-aug.html">OpenShift_Config</a></div></div><div class=MEntry><div class=MFile><a href="openshift_http-aug.html">OpenShift_Http</a></div></div><div class=MEntry><div class=MFile><a href="openshift_quickstarts-aug.html">OpenShift_Quickstarts</a></div></div><div class=MEntry><div class=MFile><a href="pam-aug.html">Pam</a></div></div><div class=MEntry><div class=MFile><a href="pamconf-aug.html">PamConf</a></div></div><div class=MEntry><div class=MFile><a href="pbuilder-aug.html">Pbuilder</a></div></div><div class=MEntry><div class=MFile><a href="pg_hba-aug.html">Pg_Hba</a></div></div><div class=MEntry><div class=MFile><a href="postfix_transport-aug.html">Postfix_Transport</a></div></div><div class=MEntry><div class=MFile><a href="postfix_virtual-aug.html">Postfix_Virtual</a></div></div><div class=MEntry><div class=MFile><a href="postgresql-aug.html">Postgresql</a></div></div><div class=MEntry><div class=MFile><a href="protocols-aug.html">Protocols</a></div></div><div class=MEntry><div class=MFile><a href="puppetfileserver-aug.html">PuppetFileserver</a></div></div><div class=MEntry><div class=MFile><a href="puppet_auth-aug.html">Puppet_Auth</a></div></div><div class=MEntry><div class=MFile><a href="qpid-aug.html">Qpid</a></div></div><div class=MEntry><div class=MFile><a href="rabbitmq-aug.html">Rabbitmq</a></div></div><div class=MEntry><div class=MFile><a href="redis-aug.html">Redis</a></div></div><div class=MEntry><div class=MFile><a href="reprepro_uploaders-aug.html">Reprepro_Uploaders</a></div></div><div class=MEntry><div class=MFile><a href="resolv-aug.html">Resolv</a></div></div><div class=MEntry><div class=MFile><a href="rsyslog-aug.html">Rsyslog</a></div></div><div class=MEntry><div class=MFile><a href="schroot-aug.html">Schroot</a></div></div><div class=MEntry><div class=MFile><a href="services-aug.html">Services</a></div></div><div class=MEntry><div class=MFile><a href="shells-aug.html">Shells</a></div></div><div class=MEntry><div class=MFile><a href="shellvars-aug.html">Shellvars</a></div></div><div class=MEntry><div class=MFile><a href="simplelines-aug.html">Simplelines</a></div></div><div class=MEntry><div class=MFile><a href="simplevars-aug.html">Simplevars</a></div></div><div class=MEntry><div class=MFile><a href="sip_conf-aug.html">Sip_Conf</a></div></div><div class=MEntry><div class=MFile><a href="smbusers-aug.html">SmbUsers</a></div></div><div class=MEntry><div class=MFile><a href="splunk-aug.html">Splunk</a></div></div><div class=MEntry><div class=MFile><a href="solaris_system-aug.html">Solaris_System</a></div></div><div class=MEntry><div class=MFile><a href="ssh-aug.html">Ssh</a></div></div><div class=MEntry><div class=MFile><a href="sshd-aug.html">Sshd</a></div></div><div class=MEntry><div class=MFile><a href="sssd-aug.html">Sssd</a></div></div><div class=MEntry><div class=MFile><a href="subversion-aug.html">Subversion</a></div></div><div class=MEntry><div class=MFile><a href="sudoers-aug.html">Sudoers</a></div></div><div class=MEntry><div class=MFile><a href="sysconfig_route-aug.html">Sysconfig_Route</a></div></div><div class=MEntry><div class=MFile><a href="sysctl-aug.html">Sysctl</a></div></div><div class=MEntry><div class=MFile><a href="syslog-aug.html">Syslog</a></div></div><div class=MEntry><div class=MFile><a href="systemd-aug.html">Systemd</a></div></div><div class=MEntry><div class=MFile><a href="thttpd-aug.html">Thttpd</a></div></div><div class=MEntry><div class=MFile><a href="up2date-aug.html">Up2date</a></div></div><div class=MEntry><div class=MFile><a href="vmware_config-aug.html">VWware_Config</a></div></div><div class=MEntry><div class=MFile><a href="vfstab-aug.html">Vfstab</a></div></div><div class=MEntry><div class=MFile><a href="xinetd-aug.html">Xinetd</a></div></div><div class=MEntry><div class=MFile><a href="xorg-aug.html">Xorg</a></div></div><div class=MEntry><div class=MFile><a href="xymon_alerting-aug.html">Xymon_Alerting</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Generic Modules</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="build-aug.html">Build</a></div></div><div class=MEntry><div class=MFile><a href="erlang-aug.html">Erlang</a></div></div><div class=MEntry><div class=MFile id=MSelected>IniFile</div></div><div class=MEntry><div class=MFile><a href="quote-aug.html">Quote</a></div></div><div class=MEntry><div class=MFile><a href="rx-aug.html">Rx</a></div></div><div class=MEntry><div class=MFile><a href="sep-aug.html">Sep</a></div></div><div class=MEntry><div class=MFile><a href="util-aug.html">Util</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Tests and Examples</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="tests/test_access-aug.html">Test_Access</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_activemq_conf-aug.html">Test_ActiveMQ_Conf</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_activemq_xml-aug.html">Test_ActiveMQ_XML</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_aliases-aug.html">Test_Aliases</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_anacron-aug.html">Test_Anacron</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_approx-aug.html">Test_Approx</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_apt_update_manager-aug.html">Test_Apt_Update_Manager</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_authorized_keys-aug.html">Test_Authorized_Keys</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_bootconf-aug.html">Test_BootConf</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_build-aug.html">Test_Build</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_carbon-aug.html">Test_Carbon</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_channels-aug.html">Test_Channels</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_collectd-aug.html">Test_Collectd</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_cups-aug.html">Test_Cups</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_dovecot-aug.html">Test_Dovecot</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_erlang-aug.html">Test_Erlang</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_fai_diskconfig-aug.html">Test_FAI_DiskConfig</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_fonts-aug.html">Test_Fonts</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_fuse-aug.html">Test_Fuse</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_gtkbookmarks-aug.html">Test_GtkBookmarks</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_htpasswd-aug.html">Test_Htpasswd</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_inifile-aug.html">Test_IniFile</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_inputrc-aug.html">Test_Inputrc</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_jettyrealm-aug.html">Test_JettyRealm</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_jmxaccess-aug.html">Test_JMXAccess</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_jmxpassword-aug.html">Test_JMXPassword</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_keepalived-aug.html">Test_Keepalived</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_koji-aug.html">Test_Koji</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_ldso-aug.html">Test_Ldso</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_lightdm-aug.html">Test_Lightdm</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_lvm-aug.html">Test_LVM</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_mcollective-aug.html">Test_MCollective</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_memcached-aug.html">Test_Memcached</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_mongodbserver-aug.html">Test_MongoDBServer</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_nagioscfg-aug.html">Test_NagiosCfg</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_networkmanager-aug.html">Test_NetworkManager</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_nginx-aug.html">Test_Nginx</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_ntpd-aug.html">Test_Ntpd</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_openshift_config-aug.html">Test_OpenShift_Config</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_openshift_http-aug.html">Test_OpenShift_Http</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_openshift_quickstarts-aug.html">Test_OpenShift_Quickstarts</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_postfix_transport-aug.html">Test_Postfix_Transport</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_postfix_virtual-aug.html">Test_Postfix_Virtual</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_postgresql-aug.html">Test_Postgresql</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_protocols-aug.html">Test_Protocols</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_puppet_auth-aug.html">Test_Puppet_Auth</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_qpid-aug.html">Test_Qpid</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_quote-aug.html">Test_Quote</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_rabbitmq-aug.html">Test_Rabbitmq</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_redis-aug.html">Test_Redis</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_reprepro_uploaders-aug.html">Test_Reprepro_Uploaders</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_rsyslog-aug.html">Test_Rsyslog</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_simplelines-aug.html">Test_Simplelines</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_simplevars-aug.html">Test_Simplevars</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_smbusers-aug.html">Test_SmbUsers</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_subversion-aug.html">Test_Subversion</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_sysconfig_route-aug.html">Test_Sysconfig_Route</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_sysctl-aug.html">Test_Sysctl</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_systemd-aug.html">Test_Systemd</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_thttpd-aug.html">Test_Thttpd</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_up2date-aug.html">Test_Up2date</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_vmware_config-aug.html">Test_VMware_Config</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_xml-aug.html">Test_Xml</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_yum-aug.html">Test_Yum</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_login_defs-aug.html">Test_login_defs</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_sssd-aug.html">Test_sssd</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_sudoers-aug.html">Test_sudoers</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_ssh-aug.html">Test_ssh</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_sshd-aug.html">Test_sshd</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_shellvars_list-aug.html">Shellvars_list.lns</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_slapd-aug.html">test_slapd.aug</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_xymon_alerting-aug.html">Test_Xymon_Alerting</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Index</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MIndex><a href="../index/AugeasLenses.html">Lenses</a></div></div><div class=MEntry><div class=MIndex><a href="../index/AugeasModules.html">Modules</a></div></div><div class=MEntry><div class=MIndex><a href="../index/AugeasVariables.html">Variables</a></div></div><div class=MEntry><div class=MIndex><a href="../index/AugeasTests.html">Tests</a></div></div><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="AugeasLenses">Augeas Lenses</option><option value="AugeasModules">Augeas Modules</option><option value="AugeasTests">Augeas Tests</option><option value="AugeasVariables">Augeas Variables</option><option value="Files">Files</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([3], 6);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CAugeasModule>Provides unit tests and examples for the IniFile module.</div></div><div class=CToolTip id="tt2"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let eol = Util.doseol
</td></tr></table></blockquote>End of line, inherited from Util.eol</div></div><div class=CToolTip id="tt3"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint"> let eol = del /[ \t]*\n/ "\n"
</td></tr></table></blockquote>Delete end of line, including optional trailing whitespace</div></div><div class=CToolTip id="tt4"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sep (pat:regexp) (default:string)
= Sep.opt_space . del pat default
</td></tr></table></blockquote>Generic separator</div></div><div class=CToolTip id="tt5"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sep_noindent (pat:regexp) (default:string)
= del pat default
</td></tr></table></blockquote>Generic separator, no indentation</div></div><div class=CToolTip id="tt6"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sep_re = /[=:]/
</td></tr></table></blockquote>The default regexp for a separator</div></div><div class=CToolTip id="tt7"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sep_default = "="
</td></tr></table></blockquote>The default separator value</div></div><div class=CToolTip id="tt8"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sto_to_eol = Sep.opt_space . store Rx.space_in
</td></tr></table></blockquote>Store until end of line</div></div><div class=CToolTip id="tt9"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let to_comment_re = /[^";# \t\n][^";#\n]*[^";# \t\n]|[^";# \t\n]/
</td></tr></table></blockquote>Regex until comment</div></div><div class=CToolTip id="tt10"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sto_to_comment = Sep.opt_space . store to_comment_re
</td></tr></table></blockquote>Store until comment</div></div><div class=CToolTip id="tt11"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sto_multiline = Sep.opt_space
. store (to_comment_re
. (/[ \t]*\n/ . Rx.space . to_comment_re)*)
</td></tr></table></blockquote>Store multiline values</div></div><div class=CToolTip id="tt12"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sto_multiline_nocomment = Sep.opt_space
. store (Rx.space_in . (/[ \t]*\n/ . Rx.space . Rx.space_in)*)
</td></tr></table></blockquote>Store multiline values without an end-of-line comment</div></div><div class=CToolTip id="tt13"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let comment_noindent (pat:regexp) (default:string) =
Util.comment_generic_seteol (pat . Rx.opt_space) default eol
</td></tr></table></blockquote>Map comments into “#comment” nodes, no indentation allowed</div></div><div class=CToolTip id="tt14"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let comment (pat:regexp) (default:string) =
Util.comment_generic_seteol (Rx.opt_space . pat . Rx.opt_space) default eol
</td></tr></table></blockquote>Map comments into “#comment” nodes</div></div><div class=CToolTip id="tt15"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let comment_re = /[;#]/
</td></tr></table></blockquote>Default regexp for comment pattern</div></div><div class=CToolTip id="tt16"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let comment_default = ";"
</td></tr></table></blockquote>Default value for comment pattern</div></div><div class=CToolTip id="tt17"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let empty_generic (indent:regexp) (comment_re:regexp) =
Util.empty_generic_dos (indent . comment_re? . Rx.opt_space)
</td></tr></table></blockquote>Empty line, including empty comments</div></div><div class=CToolTip id="tt18"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let empty = empty_generic Rx.opt_space comment_re
</td></tr></table></blockquote>Empty line</div></div><div class=CToolTip id="tt19"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let empty_noindent = empty_generic "" comment_re
</td></tr></table></blockquote>Empty line, without indentation</div></div><div class=CToolTip id="tt20"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry_generic_nocomment (kw:lens) (sep:lens)
(comment_re:regexp) (comment:lens) =
let bare_re_noquot = (/[^" \t\r\n]/ - comment_re)
in let bare_re = (/[^\r\n]/ - comment_re)+
in let no_quot = /[^"\r\n]*/
in let bare = Quote.do_dquote_opt_nil (store (bare_re_noquot . (bare_re* . bare_re_noquot)?))
in let quoted = Quote.do_dquote (store (no_quot . comment_re+ . no_quot))
in [ kw . sep . (Sep.opt_space . bare)? . (comment|eol) ]
| [ kw . sep . Sep.opt_space . quoted . (comment|eol) ]
</td></tr></table></blockquote>A very generic INI File entry, not including comments It allows to set the key lens (to set indentation or subnodes linked to the key) as well as the comment separator regexp, used to tune the store regexps.</div></div><div class=CToolTip id="tt21"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry_generic (kw:lens) (sep:lens) (comment_re:regexp) (comment:lens) =
entry_generic_nocomment kw sep comment_re comment | comment
</td></tr></table></blockquote>A very generic INI File entry It allows to set the key lens (to set indentation or subnodes linked to the key) as well as the comment separator regexp, used to tune the store regexps.</div></div><div class=CToolTip id="tt22"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry (kw:regexp) (sep:lens) (comment:lens) =
entry_generic (key kw) sep comment_re comment
</td></tr></table></blockquote>Generic INI File entry</div></div><div class=CToolTip id="tt23"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let indented_entry (kw:regexp) (sep:lens) (comment:lens) =
entry_generic (Util.indent . key kw) sep comment_re comment
</td></tr></table></blockquote>Generic INI File entry that might be indented with an arbitrary amount of whitespace</div></div><div class=CToolTip id="tt24"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry_multiline_generic (kw:lens) (sep:lens) (comment_re:regexp)
(comment:lens) (eol:lens) =
let newline = /\r?\n[ \t]+/
in let bare =
let word_re_noquot = (/[^" \t\r\n]/ - comment_re)+
in let word_re = (/[^\r\n]/ - comment_re)+
in let base_re = (word_re_noquot . (word_re* . word_re_noquot)?)
in let sto_re = base_re . (newline . base_re)*
| (newline . base_re)+
in Quote.do_dquote_opt_nil (store sto_re)
in let quoted =
let no_quot = /[^"\r\n]*/
in let base_re = (no_quot . comment_re+ . no_quot)
in let sto_re = base_re . (newline . base_re)*
| (newline . base_re)+
in Quote.do_dquote (store sto_re)
in [ kw . sep . (Sep.opt_space . bare)? . eol ]
| [ kw . sep . Sep.opt_space . quoted . eol ]
| comment
</td></tr></table></blockquote>A very generic multiline INI File entry It allows to set the key lens (to set indentation or subnodes linked to the key) as well as the comment separator regexp, used to tune the store regexps.</div></div><div class=CToolTip id="tt25"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry_multiline (kw:regexp) (sep:lens) (comment:lens) =
entry_multiline_generic (key kw) sep comment_re comment (comment|eol)
</td></tr></table></blockquote>Generic multiline INI File entry</div></div><div class=CToolTip id="tt26"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry_multiline_nocomment (kw:regexp) (sep:lens) (comment:lens) =
entry_multiline_generic (key kw) sep comment_re comment eol
</td></tr></table></blockquote>Generic multiline INI File entry without an end-of-line comment</div></div><div class=CToolTip id="tt27"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry_list (kw:regexp) (sep:lens) (sto:regexp) (list_sep:lens) (comment:lens) =
let list = counter "elem"
. Build.opt_list [ seq "elem" . store sto ] list_sep
in Build.key_value_line_comment kw sep (Sep.opt_space . list) comment
</td></tr></table></blockquote>Generic INI File list entry</div></div><div class=CToolTip id="tt28"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry_list_nocomment (kw:regexp) (sep:lens) (sto:regexp) (list_sep:lens) =
let list = counter "elem"
. Build.opt_list [ seq "elem" . store sto ] list_sep
in Build.key_value_line kw sep (Sep.opt_space . list)
</td></tr></table></blockquote>Generic INI File list entry without an end-of-line comment</div></div><div class=CToolTip id="tt29"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry_re = ( /[A-Za-z][A-Za-z0-9._-]+/ )
</td></tr></table></blockquote>Default regexp for entry keyword</div></div><div class=CToolTip id="tt30"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let title (kw:regexp)
= Util.del_str "[" . key kw
. Util.del_str "]". eol
</td></tr></table></blockquote>Title for record. </div></div><div class=CToolTip id="tt31"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let record (title:lens) (entry:lens)
= record_noempty title ( entry | empty )
</td></tr></table></blockquote>Generic INI File record</div></div><div class=CToolTip id="tt32"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let indented_title (kw:regexp)
= Util.indent . title kw
</td></tr></table></blockquote>Title for record. </div></div><div class=CToolTip id="tt33"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let title_label (name:string) (kw:regexp)
= label name
. Util.del_str "[" . store kw
. Util.del_str "]". eol
</td></tr></table></blockquote>Title for record. </div></div><div class=CToolTip id="tt34"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let indented_title_label (name:string) (kw:regexp)
= Util.indent . title_label name kw
</td></tr></table></blockquote>Title for record. </div></div><div class=CToolTip id="tt35"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let record_re = ( /[^]\r\n\/]+/ - /#comment/ )
</td></tr></table></blockquote>Default regexp for title keyword pattern</div></div><div class=CToolTip id="tt36"><div class=CAugeasVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let record_label_re = /[^]\r\n]+/
</td></tr></table></blockquote>Default regexp for title_label keyword pattern</div></div><div class=CToolTip id="tt37"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let record_noempty (title:lens) (entry:lens)
= [ title
. entry* ]
</td></tr></table></blockquote>INI File Record with no empty lines allowed.</div></div><div class=CToolTip id="tt38"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let lns_noempty (record:lens) (comment:lens)
= comment* . record*
</td></tr></table></blockquote>Generic INI File lens with no empty lines</div></div><div class=CToolTip id="tt39"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let lns (record:lens) (comment:lens)
= lns_noempty record (comment|empty)
</td></tr></table></blockquote>Generic INI File lens</div></div><div class=CToolTip id="tt40"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let lns_loose =
let l_comment = comment comment_re comment_default
in let l_sep = sep sep_re sep_default
in let l_entry = indented_entry entry_re l_sep l_comment
in let l_title = indented_title_label "section" (record_label_re - ".anon")
in let l_record = record l_title l_entry
in (record_anon l_entry)? . l_record*
</td></tr></table></blockquote></div></div><div class=CToolTip id="tt41"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let lns_loose_multiline =
let l_comment = comment comment_re comment_default
in let l_sep = sep sep_re sep_default
in let l_entry = entry_multiline entry_re l_sep l_comment
in let l_title = title_label "section" (record_label_re - ".anon")
in let l_record = record l_title l_entry
in (record_anon l_entry)? . l_record*
</td></tr></table></blockquote></div></div><!--END_ND_TOOLTIPS-->
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|