Message408005
My final goal is to preserve the empty lines - I think I can do some bash magic, but maybe something more complex that a simple sed call.
FWIW on https://jsonlines.org/#line-separator-is-n I see "The last character in the file may be a line separator, and it will be treated the same as if there was no line separator present.".
And on https://github.com/ndjson/ndjson-spec#32-parsing I see "The parser MAY silently ignore empty lines, e.g. \n\n. This behavior MUST be documented and SHOULD be configurable by the user of the parser.".
While I get this choice can be "on a grey area", I think this is a known "dialect" of the jsonl specs. |
|
Date |
User |
Action |
Args |
2021-12-08 09:44:53 | ZeD | set | recipients:
+ ZeD, rhettinger, bob.ippolito, ezio.melotti, serhiy.storchaka, AlexWaygood |
2021-12-08 09:44:53 | ZeD | set | messageid: <1638956693.62.0.833450393481.issue45929@roundup.psfhosted.org> |
2021-12-08 09:44:53 | ZeD | link | issue45929 messages |
2021-12-08 09:44:53 | ZeD | create | |
|