Hello
I just encoutered a patch(1) limitation when using it on minified json
files from Wordpress. The lines can span more than the maximum of what
patch(1) can cope, which is INT16_MAX. Here is a test for taht:
jot -b A $(( 37268 / 2 )) |tr '\n' 'A' > g.txt
mv g.txt g.txt.orig
sed 's/A/B/' g.tx
Date:Fri, 12 Jul 2024 01:17:57 +
From:Emmanuel Dreyfus
Message-ID:
| I just encoutered a patch(1) limitation when using it on minified json
| files from Wordpress. The lines can span more than the maximum of what
| patch(1) can cope, which is INT16_MAX. He