summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2018-12-27 03:18:52 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2018-12-27 03:18:52 (EST)
commitd4f333019d32e4423933eb6698dca75f5be062c6 (patch)
tree18a105c66bd210c5dbae57ffc03879d111217518 /tools
parent75ffabcc1ee3951754eafd08731ae3a2cbb3b99f (diff)
tools/shman.sh: Don't treat "\" as escape char in cmd args
Diffstat (limited to 'tools')
-rwxr-xr-xtools/shman.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/shman.sh b/tools/shman.sh
index 8e4cfdc..953965a 100755
--- a/tools/shman.sh
+++ b/tools/shman.sh
@@ -103,7 +103,7 @@ gen_doc_func()
sect_desc=".SH DESCRIPTION${LF}${args}"
;;
'option')
- read opt optarg desc <<-EOF
+ read -r opt optarg desc <<-EOF
${args}
EOF
if ${first_opt}; then
@@ -119,7 +119,7 @@ gen_doc_func()
sect_opts="${sect_opts}${desc}${LF}"
;;
'operand')
- read opd req desc <<-EOF
+ read -r opd req desc <<-EOF
${args}
EOF
if ${first_opd}; then