summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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