-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
curl --manual includes ESC-sequences #11501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Which Windows binary do you see this on?
|
Yes, show. Original text is manual.txt.zip cleaned text is (use internal editor in to Far Manager b6174 + LuaFAR Search v3.45.5 + TextConv v3.9.3.4040 (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 |
I don't doubt that you see this. But, where did you get the curl archive that shows this problem? |
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
P.S. 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. |
At some point the nroff command stopped stripping off escape sequences, so then this script needs to do the job instead. Reported-by: VictorVG on github Fixes #11501
Big thanks! I test new version 8.2.1 build 8.2.1_1 - this issues is fixed!:up: |
At some point the nroff command stopped stripping off escape sequences, so then this script needs to do the job instead. Reported-by: VictorVG on github Fixes curl#11501 Closes curl#11503
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.
curl/libcurl version
cURL 8.2.0
operating system
Any (all) OS and platform's
The text was updated successfully, but these errors were encountered: