Annotation of embedaddon/confuse/examples/test.conf, revision 1.1

1.1     ! misho       1: # test config file
        !             2: 
        !             3: # this is a one line comment
        !             4: 
        !             5: // this is a C++-style one line comment
        !             6: ///this is another C++-style one line comment
        !             7: 
        !             8: /*
        !             9:  * This is a C-style multi-line comment
        !            10:  */
        !            11: 
        !            12: BackLog = 2147483647
        !            13: 
        !            14: bookmark heimdal {
        !            15:        login = "anonymous"
        !            16:        password = ${ANONPASS:-anonymous@}
        !            17:        directory = "/pub/heimdal/src"
        !            18:        machine = "ftp://ftp.pdc.kth.se:21"
        !            19: 
        !            20:        proxy {
        !            21:          type = 1
        !            22:          host = ${HOST:-localhost}   # environment variable substitution
        !            23:          #port = 21
        !            24:          #exclude = {"localhost"  , ".localnet" , "fu.bar.net"}
        !            25:       exclude += {.aol.com , .sf.net}
        !            26:        }
        !            27: }
        !            28: 
        !            29: probe-device = "eth1"
        !            30: # probe-device += "eth3"   # error, probe-device is not a list
        !            31: 
        !            32: bookmark gazonk {
        !            33:  machine = "ssh://localhost"
        !            34:  login = joe
        !            35:  passive-mode = true
        !            36:  directory = '/pub/dir with spaces/\
        !            37: more'       # continued on next line
        !            38:   port = 022 # in octal mode
        !            39:  proxy {} /* use default proxy */
        !            40: }
        !            41: 
        !            42: bookmark ftp.du.se {
        !            43:  machine = "ftp.du.se"
        !            44: // port = 0x21 /* hexadecimal */
        !            45:  login = ftp
        !            46:  proxy {
        !            47:    exclude = {.com.net}
        !            48:  }
        !            49: }
        !            50: 
        !            51: /* functions can be called with variable number of arguments
        !            52:  */
        !            53: func( "one", "two", 'three',four )
        !            54: func( 1, 2 )
        !            55: 
        !            56: //delays = {145.12345, .6,42, 4.987e2}
        !            57: //delays += {0.1, 0.2, 0.3}
        !            58: 
        !            59: ask-quit = maybe
        !            60: 
        !            61: #ask-quit-array = {"maybe", "maybe", "maybe"}
        !            62: ask-quit-array += {"no", "yes", "yes"}
        !            63: 
        !            64: include(inc.conf)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>