|
Elektra 0.11.0
|
The plugin provides validation for the line endings of a file.
See installation. The package is called libelektra5-extra.
The plugin checks the line endings of a file. It validates the line endings against consistency and if the key /valid is present also against the specified line ending. Inconsistent line endings or line endings that don't match /valid yield an error in case of kdbSet. In the case of kdbGet the plugin yields a warning instead.
The key /valid tells the plugin to reject all line endings other than specified and can have the following options:
CRLF: Carriage return followed by a line feedLFCR: Line feed followed by a carriage returnCR: Carriage return onlyLF: Line feed onlyIf the key doesn't exist only inconsistent line endings are rejected.