bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [PATCH] paramcheck: use explicit quoting for here-docs


From: Darshit Shah
Subject: Re: [Bug-wget] [PATCH] paramcheck: use explicit quoting for here-docs
Date: Mon, 4 May 2015 10:23:19 +0530
User-agent: Mutt/1.5.23 (2014-03-12)

Pushed!

On 05/03, Steven Schubiger wrote:
No functional change, but make the here-docs quoting more apparent
(also with regard to $" which is assigned to on the line before).


From 5c9bf2a61cf79a58afe1476daa95f13b55d8b589 Mon Sep 17 00:00:00 2001
From: Steven Schubiger <address@hidden>
Date: Thu, 30 Apr 2015 21:40:08 +0200
Subject: [PATCH] paramcheck: use explicit quoting for here-docs

* util/paramcheck.pl: Adjust here-docs
---
util/paramcheck.pl |   12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/util/paramcheck.pl b/util/paramcheck.pl
index 7a07292..83d30da 100755
--- a/util/paramcheck.pl
+++ b/util/paramcheck.pl
@@ -149,7 +149,7 @@ sub emit_no_corresponding_cmds
    }

    local $" = "\n";
-    print <<EOT;
+    print <<"EOT";
No corresponding commands
=========================
@options
@@ -170,7 +170,7 @@ sub emit_no_matching_long_cmds
    }

    local $" = "\n";
-    print <<EOT;
+    print <<"EOT";
Non-matching commands
=====================
@options
@@ -199,7 +199,7 @@ sub emit_no_corresponding_opts
    }

    local $" = "\n";
-    print <<EOT;
+    print <<"EOT";
No corresponding options
========================
@commands
@@ -218,7 +218,7 @@ sub emit_deprecated_opts
    }

    local $" = "\n";
-    print <<EOT;
+    print <<"EOT";
Deprecated options
==================
@options
@@ -237,7 +237,7 @@ sub emit_deprecated_cmds
    }

    local $" = "\n";
-    print <<EOT;
+    print <<"EOT";
Deprecated commands
===================
@commands
@@ -339,7 +339,7 @@ sub emit_undocumented_cmds
    }

    local $" = "\n";
-    print <<EOT;
+    print <<"EOT";
Undocumented commands
=====================
@commands
--
1.7.10.4



--
Thanking You,
Darshit Shah

Attachment: pgpsa1KZzD_iP.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]