/usr/share/doc/augeas-doc/lenses/files/tests/test_channels-aug.html is in augeas-doc 1.2.0-0ubuntu1.
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 | <!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>Test_Channels - 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="Test_Channels"></a>Test_Channels</h1><div class=CBody><p>Provides unit tests and examples for the <a href="../channels-aug.html#Channels" class=LAugeasModule id=link5 onMouseOver="ShowTip(event, 'tt1', 'link5')" onMouseOut="HideTip('tt1')">Channels</a> lens.</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="#Test_Channels" >Test_Channels</a></td><td class=SDescription>Provides unit tests and examples for the <a href="../channels-aug.html#Channels" class=LAugeasModule id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">Channels</a> lens.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Test_Channels.Augeas_Variables" >Augeas Variables</a></td><td class=SDescription></td></tr><tr class="SAugeasVariable SIndent2 SMarked"><td class=SEntry><a href="#Test_Channels.conf" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">conf</a></td><td class=SDescription>A full configuration file</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Test_Channels.Augeas_Tests" >Augeas Tests</a></td><td class=SDescription></td></tr><tr class="SAugeasTest SIndent2 SMarked"><td class=SEntry><a href="#Test_Channels.Channels.lns" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">Channels.lns</a></td><td class=SDescription>Test the full <a href="#Test_Channels.conf" class=LAugeasVariable id=link4 onMouseOver="ShowTip(event, 'tt2', 'link4')" onMouseOut="HideTip('tt2')">conf</a></td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Test_Channels.Augeas_Variables"></a>Augeas Variables</h3></div></div>
<div class="CAugeasVariable"><div class=CTopic><h3 class=CTitle><a name="Test_Channels.conf"></a>conf</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let conf = "Direct 8 TV;SES ASTRA:12551:VC56M2O0S0:S19.2E:22000:1111=2:1112=fra@3:1116:0:12174:1:1108:0
:FAVORIS
Direct 8 TV;SES ASTRA:12551:VC56M2O0S0:S19.2E:22000:1111=2:1112=fra@3:1116:0:12175:1:1108:0
TF1;CSAT:11895:VC34M2O0S0:S19.2E:27500:171=2:124=fra+spa@4,125=eng@4;126=deu@4:53:500,1811,1863,100:8371:1:1074:0
:TNT
TF1;SMR6:690167:I999B8C999D999M998T999G999Y0:T:27500:120=2:130=fra@3,131=eng@3,133=qad@3:140;150=fra,151=eng:0:1537:8442:6:0
; this is a comment
France 5;GR1:618167:I999B8C999D999M998T999G999Y0:T:27500:374+320=2:330=fra@3,331=qad@3:0;340=fra:0:260:8442:1:0
CANAL+ FAMILY HD:12012:VC23M5O35S1:S19.2E:27500:164=27:0;98=@106,99=eng@106:0;45=fra+fra:1811,500,1863,100,9C4,9C7,9AF:8825:1:1080:0
"
</td></tr></table></blockquote><p>A full configuration file</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Test_Channels.Augeas_Tests"></a>Augeas Tests</h3></div></div>
<div class="CAugeasTest"><div class=CTopic><h3 class=CTitle><a name="Test_Channels.Channels.lns"></a>Channels.lns</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Channels.lns get conf =
{ "entry" = "Direct 8 TV"
{ "provider" = "SES ASTRA" }
{ "frequency" = "12551" }
{ "parameter" = "VC56M2O0S0" }
{ "signal_source" = "S19.2E" }
{ "symbol_rate" = "22000" }
{ "vpid" = "1111" { "codec" = "2" } }
{ "apid" = "1112" { "lang" = "fra" } { "codec" = "3" } }
{ "tpid" = "1116" }
{ "caid" = "0" }
{ "sid" = "12174" }
{ "nid" = "1" }
{ "tid" = "1108" }
{ "rid" = "0" }
}
{ "group" = "FAVORIS"
{ "entry" = "Direct 8 TV"
{ "provider" = "SES ASTRA" }
{ "frequency" = "12551" }
{ "parameter" = "VC56M2O0S0" }
{ "signal_source" = "S19.2E" }
{ "symbol_rate" = "22000" }
{ "vpid" = "1111" { "codec" = "2" } }
{ "apid" = "1112" { "lang" = "fra" } { "codec" = "3" } }
{ "tpid" = "1116" }
{ "caid" = "0" }
{ "sid" = "12175" }
{ "nid" = "1" }
{ "tid" = "1108" }
{ "rid" = "0" }
}
{ "entry" = "TF1"
{ "provider" = "CSAT" }
{ "frequency" = "11895" }
{ "parameter" = "VC34M2O0S0" }
{ "signal_source" = "S19.2E" }
{ "symbol_rate" = "27500" }
{ "vpid" = "171" { "codec" = "2" } }
{ "apid" = "124" { "lang" = "fra" } { "lang" = "spa" } { "codec" = "4" } }
{ "apid" = "125" { "lang" = "eng" } { "codec" = "4" } }
{ "apid_dolby" = "126" { "lang" = "deu" } { "codec" = "4" } }
{ "tpid" = "53" }
{ "caid" = "500" }
{ "caid" = "1811" }
{ "caid" = "1863" }
{ "caid" = "100" }
{ "sid" = "8371" }
{ "nid" = "1" }
{ "tid" = "1074" }
{ "rid" = "0" }
}
}
{ "group" = "TNT"
{ "entry" = "TF1"
{ "provider" = "SMR6" }
{ "frequency" = "690167" }
{ "parameter" = "I999B8C999D999M998T999G999Y0" }
{ "signal_source" = "T" }
{ "symbol_rate" = "27500" }
{ "vpid" = "120" { "codec" = "2" } }
{ "apid" = "130" { "lang" = "fra" } { "codec" = "3" } }
{ "apid" = "131" { "lang" = "eng" } { "codec" = "3" } }
{ "apid" = "133" { "lang" = "qad" } { "codec" = "3" } }
{ "tpid" = "140" }
{ "tpid_bylang" = "150" { "lang" = "fra" } }
{ "tpid_bylang" = "151" { "lang" = "eng" } }
{ "caid" = "0" }
{ "sid" = "1537" }
{ "nid" = "8442" }
{ "tid" = "6" }
{ "rid" = "0" }
}
{ "#comment" = "this is a comment" }
{ "entry" = "France 5"
{ "provider" = "GR1" }
{ "frequency" = "618167" }
{ "parameter" = "I999B8C999D999M998T999G999Y0" }
{ "signal_source" = "T" }
{ "symbol_rate" = "27500" }
{ "vpid" = "374" }
{ "vpid_pcr" = "320" { "codec" = "2" } }
{ "apid" = "330" { "lang" = "fra" } { "codec" = "3" } }
{ "apid" = "331" { "lang" = "qad" } { "codec" = "3" } }
{ "tpid" = "0" }
{ "tpid_bylang" = "340" { "lang" = "fra" } }
{ "caid" = "0" }
{ "sid" = "260" }
{ "nid" = "8442" }
{ "tid" = "1" }
{ "rid" = "0" }
}
{ "entry" = "CANAL+ FAMILY HD"
{ "frequency" = "12012" }
{ "parameter" = "VC23M5O35S1" }
{ "signal_source" = "S19.2E" }
{ "symbol_rate" = "27500" }
{ "vpid" = "164" { "codec" = "27" } }
{ "apid" = "0" }
{ "apid_dolby" = "98" { "codec" = "106" } }
{ "apid_dolby" = "99" { "lang" = "eng" } { "codec" = "106" } }
{ "tpid" = "0" }
{ "tpid_bylang" = "45" { "lang" = "fra" } { "lang" = "fra" } }
{ "caid" = "1811" }
{ "caid" = "500" }
{ "caid" = "1863" }
{ "caid" = "100" }
{ "caid" = "9C4" }
{ "caid" = "9C7" }
{ "caid" = "9AF" }
{ "sid" = "8825" }
{ "nid" = "1" }
{ "tid" = "1080" }
{ "rid" = "0" }
}
}</td></tr></table></blockquote><p>Test the full <a href="#Test_Channels.conf" class=LAugeasVariable id=link6 onMouseOver="ShowTip(event, 'tt2', 'link6')" onMouseOut="HideTip('tt2')">conf</a></p></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><a href="../inifile-aug.html">IniFile</a></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="test_access-aug.html">Test_Access</a></div></div><div class=MEntry><div class=MFile><a href="test_activemq_conf-aug.html">Test_ActiveMQ_Conf</a></div></div><div class=MEntry><div class=MFile><a href="test_activemq_xml-aug.html">Test_ActiveMQ_XML</a></div></div><div class=MEntry><div class=MFile><a href="test_aliases-aug.html">Test_Aliases</a></div></div><div class=MEntry><div class=MFile><a href="test_anacron-aug.html">Test_Anacron</a></div></div><div class=MEntry><div class=MFile><a href="test_approx-aug.html">Test_Approx</a></div></div><div class=MEntry><div class=MFile><a href="test_apt_update_manager-aug.html">Test_Apt_Update_Manager</a></div></div><div class=MEntry><div class=MFile><a href="test_authorized_keys-aug.html">Test_Authorized_Keys</a></div></div><div class=MEntry><div class=MFile><a href="test_bootconf-aug.html">Test_BootConf</a></div></div><div class=MEntry><div class=MFile><a href="test_build-aug.html">Test_Build</a></div></div><div class=MEntry><div class=MFile><a href="test_carbon-aug.html">Test_Carbon</a></div></div><div class=MEntry><div class=MFile id=MSelected>Test_Channels</div></div><div class=MEntry><div class=MFile><a href="test_collectd-aug.html">Test_Collectd</a></div></div><div class=MEntry><div class=MFile><a href="test_cups-aug.html">Test_Cups</a></div></div><div class=MEntry><div class=MFile><a href="test_dovecot-aug.html">Test_Dovecot</a></div></div><div class=MEntry><div class=MFile><a href="test_erlang-aug.html">Test_Erlang</a></div></div><div class=MEntry><div class=MFile><a href="test_fai_diskconfig-aug.html">Test_FAI_DiskConfig</a></div></div><div class=MEntry><div class=MFile><a href="test_fonts-aug.html">Test_Fonts</a></div></div><div class=MEntry><div class=MFile><a href="test_fuse-aug.html">Test_Fuse</a></div></div><div class=MEntry><div class=MFile><a href="test_gtkbookmarks-aug.html">Test_GtkBookmarks</a></div></div><div class=MEntry><div class=MFile><a href="test_htpasswd-aug.html">Test_Htpasswd</a></div></div><div class=MEntry><div class=MFile><a href="test_inifile-aug.html">Test_IniFile</a></div></div><div class=MEntry><div class=MFile><a href="test_inputrc-aug.html">Test_Inputrc</a></div></div><div class=MEntry><div class=MFile><a href="test_jettyrealm-aug.html">Test_JettyRealm</a></div></div><div class=MEntry><div class=MFile><a href="test_jmxaccess-aug.html">Test_JMXAccess</a></div></div><div class=MEntry><div class=MFile><a href="test_jmxpassword-aug.html">Test_JMXPassword</a></div></div><div class=MEntry><div class=MFile><a href="test_keepalived-aug.html">Test_Keepalived</a></div></div><div class=MEntry><div class=MFile><a href="test_koji-aug.html">Test_Koji</a></div></div><div class=MEntry><div class=MFile><a href="test_ldso-aug.html">Test_Ldso</a></div></div><div class=MEntry><div class=MFile><a href="test_lightdm-aug.html">Test_Lightdm</a></div></div><div class=MEntry><div class=MFile><a href="test_lvm-aug.html">Test_LVM</a></div></div><div class=MEntry><div class=MFile><a href="test_mcollective-aug.html">Test_MCollective</a></div></div><div class=MEntry><div class=MFile><a href="test_memcached-aug.html">Test_Memcached</a></div></div><div class=MEntry><div class=MFile><a href="test_mongodbserver-aug.html">Test_MongoDBServer</a></div></div><div class=MEntry><div class=MFile><a href="test_nagioscfg-aug.html">Test_NagiosCfg</a></div></div><div class=MEntry><div class=MFile><a href="test_networkmanager-aug.html">Test_NetworkManager</a></div></div><div class=MEntry><div class=MFile><a href="test_nginx-aug.html">Test_Nginx</a></div></div><div class=MEntry><div class=MFile><a href="test_ntpd-aug.html">Test_Ntpd</a></div></div><div class=MEntry><div class=MFile><a href="test_openshift_config-aug.html">Test_OpenShift_Config</a></div></div><div class=MEntry><div class=MFile><a href="test_openshift_http-aug.html">Test_OpenShift_Http</a></div></div><div class=MEntry><div class=MFile><a href="test_openshift_quickstarts-aug.html">Test_OpenShift_Quickstarts</a></div></div><div class=MEntry><div class=MFile><a href="test_postfix_transport-aug.html">Test_Postfix_Transport</a></div></div><div class=MEntry><div class=MFile><a href="test_postfix_virtual-aug.html">Test_Postfix_Virtual</a></div></div><div class=MEntry><div class=MFile><a href="test_postgresql-aug.html">Test_Postgresql</a></div></div><div class=MEntry><div class=MFile><a href="test_protocols-aug.html">Test_Protocols</a></div></div><div class=MEntry><div class=MFile><a href="test_puppet_auth-aug.html">Test_Puppet_Auth</a></div></div><div class=MEntry><div class=MFile><a href="test_qpid-aug.html">Test_Qpid</a></div></div><div class=MEntry><div class=MFile><a href="test_quote-aug.html">Test_Quote</a></div></div><div class=MEntry><div class=MFile><a href="test_rabbitmq-aug.html">Test_Rabbitmq</a></div></div><div class=MEntry><div class=MFile><a href="test_redis-aug.html">Test_Redis</a></div></div><div class=MEntry><div class=MFile><a href="test_reprepro_uploaders-aug.html">Test_Reprepro_Uploaders</a></div></div><div class=MEntry><div class=MFile><a href="test_rsyslog-aug.html">Test_Rsyslog</a></div></div><div class=MEntry><div class=MFile><a href="test_simplelines-aug.html">Test_Simplelines</a></div></div><div class=MEntry><div class=MFile><a href="test_simplevars-aug.html">Test_Simplevars</a></div></div><div class=MEntry><div class=MFile><a href="test_smbusers-aug.html">Test_SmbUsers</a></div></div><div class=MEntry><div class=MFile><a href="test_subversion-aug.html">Test_Subversion</a></div></div><div class=MEntry><div class=MFile><a href="test_sysconfig_route-aug.html">Test_Sysconfig_Route</a></div></div><div class=MEntry><div class=MFile><a href="test_sysctl-aug.html">Test_Sysctl</a></div></div><div class=MEntry><div class=MFile><a href="test_systemd-aug.html">Test_Systemd</a></div></div><div class=MEntry><div class=MFile><a href="test_thttpd-aug.html">Test_Thttpd</a></div></div><div class=MEntry><div class=MFile><a href="test_up2date-aug.html">Test_Up2date</a></div></div><div class=MEntry><div class=MFile><a href="test_vmware_config-aug.html">Test_VMware_Config</a></div></div><div class=MEntry><div class=MFile><a href="test_xml-aug.html">Test_Xml</a></div></div><div class=MEntry><div class=MFile><a href="test_yum-aug.html">Test_Yum</a></div></div><div class=MEntry><div class=MFile><a href="test_login_defs-aug.html">Test_login_defs</a></div></div><div class=MEntry><div class=MFile><a href="test_sssd-aug.html">Test_sssd</a></div></div><div class=MEntry><div class=MFile><a href="test_sudoers-aug.html">Test_sudoers</a></div></div><div class=MEntry><div class=MFile><a href="test_ssh-aug.html">Test_ssh</a></div></div><div class=MEntry><div class=MFile><a href="test_sshd-aug.html">Test_sshd</a></div></div><div class=MEntry><div class=MFile><a href="test_shellvars_list-aug.html">Shellvars_list.lns</a></div></div><div class=MEntry><div class=MFile><a href="test_slapd-aug.html">test_slapd.aug</a></div></div><div class=MEntry><div class=MFile><a href="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([4], 6);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CAugeasModule>Parses channels.conf files</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 conf = "Direct 8 TV;SES ASTRA:12551:VC56M2O0S0:S19.2E:22000:1111=2:1112=fra@3:1116:0:12174:1:1108:0
:FAVORIS
Direct 8 TV;SES ASTRA:12551:VC56M2O0S0:S19.2E:22000:1111=2:1112=fra@3:1116:0:12175:1:1108:0
TF1;CSAT:11895:VC34M2O0S0:S19.2E:27500:171=2:124=fra+spa@4,125=eng@4;126=deu@4:53:500,1811,1863,100:8371:1:1074:0
:TNT
TF1;SMR6:690167:I999B8C999D999M998T999G999Y0:T:27500:120=2:130=fra@3,131=eng@3,133=qad@3:140;150=fra,151=eng:0:1537:8442:6:0
; this is a comment
France 5;GR1:618167:I999B8C999D999M998T999G999Y0:T:27500:374+320=2:330=fra@3,331=qad@3:0;340=fra:0:260:8442:1:0
CANAL+ FAMILY HD:12012:VC23M5O35S1:S19.2E:27500:164=27:0;98=@106,99=eng@106:0;45=fra+fra:1811,500,1863,100,9C4,9C7,9AF:8825:1:1080:0
"
</td></tr></table></blockquote>A full configuration file</div></div><div class=CToolTip id="tt3"><div class=CAugeasTest><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">test Channels.lns get conf =
{ "entry" = "Direct 8 TV"
{ "provider" = "SES ASTRA" }
{ "frequency" = "12551" }
{ "parameter" = "VC56M2O0S0" }
{ "signal_source" = "S19.2E" }
{ "symbol_rate" = "22000" }
{ "vpid" = "1111" { "codec" = "2" } }
{ "apid" = "1112" { "lang" = "fra" } { "codec" = "3" } }
{ "tpid" = "1116" }
{ "caid" = "0" }
{ "sid" = "12174" }
{ "nid" = "1" }
{ "tid" = "1108" }
{ "rid" = "0" }
}
{ "group" = "FAVORIS"
{ "entry" = "Direct 8 TV"
{ "provider" = "SES ASTRA" }
{ "frequency" = "12551" }
{ "parameter" = "VC56M2O0S0" }
{ "signal_source" = "S19.2E" }
{ "symbol_rate" = "22000" }
{ "vpid" = "1111" { "codec" = "2" } }
{ "apid" = "1112" { "lang" = "fra" } { "codec" = "3" } }
{ "tpid" = "1116" }
{ "caid" = "0" }
{ "sid" = "12175" }
{ "nid" = "1" }
{ "tid" = "1108" }
{ "rid" = "0" }
}
{ "entry" = "TF1"
{ "provider" = "CSAT" }
{ "frequency" = "11895" }
{ "parameter" = "VC34M2O0S0" }
{ "signal_source" = "S19.2E" }
{ "symbol_rate" = "27500" }
{ "vpid" = "171" { "codec" = "2" } }
{ "apid" = "124" { "lang" = "fra" } { "lang" = "spa" } { "codec" = "4" } }
{ "apid" = "125" { "lang" = "eng" } { "codec" = "4" } }
{ "apid_dolby" = "126" { "lang" = "deu" } { "codec" = "4" } }
{ "tpid" = "53" }
{ "caid" = "500" }
{ "caid" = "1811" }
{ "caid" = "1863" }
{ "caid" = "100" }
{ "sid" = "8371" }
{ "nid" = "1" }
{ "tid" = "1074" }
{ "rid" = "0" }
}
}
{ "group" = "TNT"
{ "entry" = "TF1"
{ "provider" = "SMR6" }
{ "frequency" = "690167" }
{ "parameter" = "I999B8C999D999M998T999G999Y0" }
{ "signal_source" = "T" }
{ "symbol_rate" = "27500" }
{ "vpid" = "120" { "codec" = "2" } }
{ "apid" = "130" { "lang" = "fra" } { "codec" = "3" } }
{ "apid" = "131" { "lang" = "eng" } { "codec" = "3" } }
{ "apid" = "133" { "lang" = "qad" } { "codec" = "3" } }
{ "tpid" = "140" }
{ "tpid_bylang" = "150" { "lang" = "fra" } }
{ "tpid_bylang" = "151" { "lang" = "eng" } }
{ "caid" = "0" }
{ "sid" = "1537" }
{ "nid" = "8442" }
{ "tid" = "6" }
{ "rid" = "0" }
}
{ "#comment" = "this is a comment" }
{ "entry" = "France 5"
{ "provider" = "GR1" }
{ "frequency" = "618167" }
{ "parameter" = "I999B8C999D999M998T999G999Y0" }
{ "signal_source" = "T" }
{ "symbol_rate" = "27500" }
{ "vpid" = "374" }
{ "vpid_pcr" = "320" { "codec" = "2" } }
{ "apid" = "330" { "lang" = "fra" } { "codec" = "3" } }
{ "apid" = "331" { "lang" = "qad" } { "codec" = "3" } }
{ "tpid" = "0" }
{ "tpid_bylang" = "340" { "lang" = "fra" } }
{ "caid" = "0" }
{ "sid" = "260" }
{ "nid" = "8442" }
{ "tid" = "1" }
{ "rid" = "0" }
}
{ "entry" = "CANAL+ FAMILY HD"
{ "frequency" = "12012" }
{ "parameter" = "VC23M5O35S1" }
{ "signal_source" = "S19.2E" }
{ "symbol_rate" = "27500" }
{ "vpid" = "164" { "codec" = "27" } }
{ "apid" = "0" }
{ "apid_dolby" = "98" { "codec" = "106" } }
{ "apid_dolby" = "99" { "lang" = "eng" } { "codec" = "106" } }
{ "tpid" = "0" }
{ "tpid_bylang" = "45" { "lang" = "fra" } { "lang" = "fra" } }
{ "caid" = "1811" }
{ "caid" = "500" }
{ "caid" = "1863" }
{ "caid" = "100" }
{ "caid" = "9C4" }
{ "caid" = "9C7" }
{ "caid" = "9AF" }
{ "sid" = "8825" }
{ "nid" = "1" }
{ "tid" = "1080" }
{ "rid" = "0" }
}
}</td></tr></table></blockquote>Test the full conf</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>
|