]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
easyoptions: Fix header printing in generation script
authorDaniel Gustafsson <daniel@yesql.se>
Wed, 11 Jan 2023 10:35:08 +0000 (11:35 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 12 Jan 2023 13:59:38 +0000 (14:59 +0100)
The optiontable.pl script prints the header comment when generating
easyoptions.c, but it wasn't escaping all characters which jumbled the
curl ascii logo.  Fix by escaping.

Cloes #10275

lib/easyoptions.c
lib/optiontable.pl

index 493f021949e96147d69cae79ccffdfe49eb2b5da..a9c1efd00643b98c887b702494f9662e7aef259f 100644 (file)
@@ -1,9 +1,9 @@
 /***************************************************************************
  *                                  _   _ ____  _
- *  Project                     ___| | | |  _ | |
+ *  Project                     ___| | | |  _ \| |
  *                             / __| | | | |_) | |
  *                            | (__| |_| |  _ <| |___
- *                             ___|___/|_| ______|
+ *                             \___|\___/|_| \_\_____|
  *
  * Copyright (C) Daniel Stenberg, <daniel.se>, et al.
  *
index 474ddfe21e7c96a95a32356841fe0ac67a6f7f81..25d6a66debfb5478363dbd6b1e6b1d5b9f7bc1e7 100755 (executable)
@@ -3,10 +3,10 @@
 print <<HEAD
 /***************************************************************************
  *                                  _   _ ____  _
- *  Project                     ___| | | |  _ \| |
+ *  Project                     ___| | | |  _ \\| |
  *                             / __| | | | |_) | |
  *                            | (__| |_| |  _ <| |___
- *                             \___|\___/|_| \_\_____|
+ *                             \\___|\\___/|_| \\_\\_____|
  *
  * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  *