Robert Elz wrote in <28937.1720777...@jacaranda.noi.kre.to>: | Date: Fri, 12 Jul 2024 08:15:57 +0000 | From: Emmanuel Dreyfus <m...@netbsd.org> | Message-ID: <zpdmpypd366xt...@homeworld.netbsd.org> | || I note the specification does not forbid the || handling of lines longer than LINE_MAX characters. | |No, it certainly does not do that. | |However applications (at least if there's any attempt at portability |at all) shouldn't assume that will work.
It is your fault to think normal rules apply to JSON, for sure. It is exceptional, see for example $ wc -lwc /var/tmp/steffen/.cache/.mupdf.history 1 22 23240 /var/tmp/steffen/.cache/.mupdf.history They all do not care no more. (I remove this once in a while, it would be even worse otherwise.) You are assumed to use json_pp or something, ah, i think "jq". Btw my MUA calls its on-program-exit also very late, even documented so ("after terminal is torn down" or so). I find it much more natural to configure history during startup, when case $- finds *i*|*m*. --End of <28937.1720777...@jacaranda.noi.kre.to> --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)