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 <[email protected]>
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

Reply via email to