man pages: fix backslash-n in examples

... to be proper backslash-backslash-n sequences to render nicely in man
and on website.

Follow-up to 24155569d8
Reported-by: Sergey Markelov

Fixes https://github.com/curl/curl-www/issues/163
Closes #7962
This commit is contained in:
Daniel Stenberg 2021-11-04 23:48:23 +01:00
parent 16b135cae9
commit 38ecb56df5
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
20 changed files with 22 additions and 22 deletions

View file

@ -34,7 +34,7 @@ its important components (like OpenSSL version).
We recommend using \fIcurl_version_info(3)\fP instead!
.SH EXAMPLE
.nf
printf("libcurl version %s\n", curl_version());
printf("libcurl version %s\\n", curl_version());
.fi
.SH AVAILABILITY