File: test1-input.ini

package info (click to toggle)
libsimpleini 4.17+dfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 684 kB
  • sloc: cpp: 4,569; makefile: 31
file content (76 lines) | stat: -rw-r--r-- 1,614 bytes parent folder | download | duplicates (2)
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
; testsi-UTF8-std.ini : standard UTF-8 test file for SimpleIni automated testing
;
; The number after a section or key is the order that it is defined in this file
; to make it easier to see if it has been written out correctly. This file should
; be loaded with Unicode / MultiKey / MultiLine turned on.

; This comment should be joined on to the one below it about the key
; with no section.
  
; Key with no section
lonely-key = nosection
another = nosection either

; This key has no value
empty = 

; This should be joined with the comment below about japanese.
   ; Another line which will be un-indented. 
   
; This is a section of keys showing the word Japanese in different syllabies.
[ordered-1]
a-1 = blah

; this is in kanji
japanese-2 = 日本語

; this is in hiragana
japanese-3 = にほんご

; this is in katakana
japanese-4 = ニホンゴ

; this is in romaji
japanese-5 = nihongo

; kanji as the key
日本語-6 = japanese

[multi-2]
; value a
test = a
; value b
test = b
; value c
test = c
; value d
test = d

[multiline-3]
; This is obviously a multi-line entry
multiline-1 = <<<MULTI

This is a multi-line comment. It
will continue until we have the word MULTI
on a line by itself.

日本語も。

MULTI

; This looks like multi-line, but because the newline following the last
; line is discarded, it will be converted into a single line entry.
another-2 = <<<MULTI
This is not a multiline entry.
MULTI

; If you wanted a multiline entry with a single line, you need to add 
; an extra line to it.
another-3 = <<<MULTI
This is a multiline entry.

MULTI

[integer]
dec = 42
hex = 0x2a