Closed zerok closed 5 years ago
Great idea.
But...
...parsing a .properties file is not quite as simple as splitting every line at the =
character, though. The encoding of properties files has to be latin-1 and there are a bunch of rules concerning max-line length and how to escape certain special chars. This is why I have added a AWK script that should deal with all the oddities of proper .properties file parsing.
The bash function read_properties
already wraps the needed parsing functionality. Do you think it would be possible to use this function instead?
Good point. I tried that before going with the simple splitter but I will try again in the next couple of days :)
Done :)
This should help in situations where you have to set dynamic properties for the scanner in a previous task. All these properties should then be written to a single file which can then be used here.