From 7a4695c2881c1d353ff24766ad7b971d4602c00e Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 24 Apr 2019 01:19:03 -0400 Subject: parse_control(): Protect cat cmd from operands beginning with "-" --- (limited to 'src') diff --git a/src/control.sh b/src/control.sh index d06cdbd..bb0c0e6 100644 --- a/src/control.sh +++ b/src/control.sh @@ -146,7 +146,7 @@ parse_control() esac done <<-EOF - $(cat "${file}") + $(cat -- "${file}") EOF # The first blank line above triggers the paragraph end code to -- cgit v0.9.1