curl --manual includes ESC-sequences #11501
I did this
Original user bug-report in to the forum.ru-board post, (translated) :
try test use command:
curl --manual > manual.txt
then see this file in to any text editor, see example
I expected the following
Clean ASCII text w/o ESC sequence's like cURL 8.1.2.
Any (all) OS and platform's
The text was updated successfully, but these errors were encountered:
Original text is manual.txt.zip
cleaned text is (use internal editor in to Far Manager b6174 + LuaFAR Search v3.45.5 + TextConv v220.127.116.1140 (used as simple tool for clean tab's) and Far regxp
use grep and regexp I find gardable ESC-seqences in to some source files (partial):
full grep report.txt
also see diff for details diff.txt
Archive manual.txt.zip is show this problem.
Also, additional archive manual-8.2.0.zip
make use command:
And simply compared using Diff's sources downloaded from the project using my script curld.cmd
Some elements in it are unnecessary - habit. It’s so easier for me not to get confused.
From https://linux.die.net/man/1/grotty, which is involved in the generation:
So if you're able to build
Or get the the less program to view it. Here it shows this with
Those pesky SGR sequences gets interpreted by less itself.