Module inilike

Reading and writing ini-like files used in some Unix systems and Freedesktop specifications.

ini-like is informal name for the file format that look like this:

# Comment
[Group name]
Key=Value
# Comment inside group
AnotherKey=Value

[Another group]
Key=English value
Key[fr_FR]=Francais value

To work with ini-like files correctly it's essential to understand the difference between escaped values and unescaped ones. Escaping is needed to represent new line characters in values.

NewLine=\n
Slash=\\
CarriageReturn=\r

In IniLikeGroup internally all values are stored in the escaped form (the same way as they are stored in the file).

See Also

Desktop Entry Specification