lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master e91fdeb 10/12: Resolve all shellcheck "SC1117


From: Greg Chicares
Subject: [lmi-commits] [lmi] master e91fdeb 10/12: Resolve all shellcheck "SC1117" warnings
Date: Sun, 12 May 2019 22:25:17 -0400 (EDT)

branch: master
commit e91fdebd1e1034f15d0e420e7711965c5a20bb4a
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Resolve all shellcheck "SC1117" warnings
---
 test_coding_rules_test.sh | 3 +++
 test_schemata.sh          | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/test_coding_rules_test.sh b/test_coding_rules_test.sh
index 4bd226e..b7e0b51 100755
--- a/test_coding_rules_test.sh
+++ b/test_coding_rules_test.sh
@@ -24,6 +24,9 @@
 # This script is intended to be invoked by lmi makefiles; it would
 # rarely make sense to run it independently.
 
+# '\' really is an intentional escape in many here-documents.
+# shellcheck disable=SC1117
+
 echo "Testing 'test_coding_rules'."
 
 rm --force eraseme*
diff --git a/test_schemata.sh b/test_schemata.sh
index e9bf8bb..a3cd637 100755
--- a/test_schemata.sh
+++ b/test_schemata.sh
@@ -149,6 +149,8 @@ Did not expect element StateOfJurisdictionMangledTag there
 sample_bad fails to validate
 EOF
 
+# '\/' really is an intentional escape (for sed, not sh).
+# shellcheck disable=SC1117
 cat >eraseme.sed <<EOF
 1,/<\/cell>/ {
   # Negative InforceDcv not allowed.



reply via email to

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