summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/controlfields2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/controlfields b/lib/controlfields
index 8222a92..aaaf668 100644
--- a/lib/controlfields
+++ b/lib/controlfields
@@ -90,7 +90,7 @@ oh_get_field()
while read -r _line; do
if [ -z ${_value} ]; then
_value=$(echo "${_line}" | sed -n \
- "s/^${_field}:[[:space:]]*\([^[:space:]]*\)[[:space:]]*$/\\1/p")
+ "s/^${_field}:[[:space:]]*\(.*\)[[:space:]]*$/\\1/p")
else
if echo "${_line}" | grep '^ ' > /dev/null; then
_value="${_value}