Test results for Win32 Console |
Test for correct functionality of the examples used in the xmlfy documentation.
Pass
cat _INPUT_DATA_ ¦ xmlfy -k -F1 '[' -F2 ']' -F2 '\n' -F3:1 '=' -t -T0 name smb-conf
[global] workgroup = MYGROUP server string = Samba Server printcap name = /etc/printcap load printers = yes cups options = raw log file = /var/log/samba/%m.log max log size = 50 security = user socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 template shell = /bin/false winbind use default domain = no [homes] comment = Home Directories browseable = no writable = yes [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = yes
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE smb-conf SYSTEM "xmlfy.dtd"> <smb-conf> <global> <workgroup>MYGROUP</workgroup> <server_string>Samba Server</server_string> <printcap_name>/etc/printcap</printcap_name> <load_printers>yes</load_printers> <cups_options>raw</cups_options> <log_file>/var/log/samba/%m.log</log_file> <max_log_size>50</max_log_size> <security>user</security> <socket_options>TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192</socket_options> <dns_proxy>no</dns_proxy> <idmap_uid>16777216-33554431</idmap_uid> <idmap_gid>16777216-33554431</idmap_gid> <template_shell>/bin/false</template_shell> <winbind_use_default_domain>no</winbind_use_default_domain> </global> <homes> <comment>Home Directories</comment> <browseable>no</browseable> <writable>yes</writable> </homes> <printers> <comment>All Printers</comment> <path>/var/spool/samba</path> <browseable>no</browseable> <guest_ok>no</guest_ok> <writable>no</writable> <printable>yes</printable> </printers> </smb-conf>