File: t1.ini

package info (click to toggle)
confget 5.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 736 kB
  • sloc: python: 1,017; ansic: 893; sh: 770; makefile: 142
file content (52 lines) | stat: -rw-r--r-- 1,233 bytes parent folder | download | duplicates (6)
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
# SPDX-FileCopyrightText: Peter Pentchev <roam@ringlet.net>
# SPDX-License-Identifier: CC0-1.0

# This is just a sample config file

	# A sample INI file

# An INI file is separated into sections.
# Each section starts with its name in square brackets on a line by itself.
# Each section contains key=value pairs, with the whitespace before
# the key, around the equal sign, or at the end of the line simply ignored.
# A value may span multiple lines - a line continuation is denoted by
# a backslash (\) as the last character on the line.

; Empty lines, lines consisting entirely of whitespace, or lines with
; optional whitespace at the start, followed by a semicolon (;) or
; a pound sign (#) and any other characters, are ignored.

[a]
# This is section a.
key1=value1
	key6 = value6
key3		=\
		 val'ue3

[ b sect  ]
key4=		v'alu'e4

	[   c  	   ]

	key5		= \
	\
	# value5
	# And nothing more.

# Okay, let's see what happens now...
# A section may be split within the file - another section header with
# the same name continues the definition of variables in the same section.

[a]
key2=value2   

[b sect]
key7=value7

[longcont]
long = stuff \
	and more stuff\
	and even more stuff \
	and wheee   

# And that's all, folks!