From a4f487515482a611da8cf82d084eedf19bdda4af Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 18 Aug 2013 10:19:12 -0400 Subject: lib/control.sh: Reflow long command lines. --- (limited to 'lib') diff --git a/lib/control.sh b/lib/control.sh index 5ba6f0a..f3f3a4f 100644 --- a/lib/control.sh +++ b/lib/control.sh @@ -139,12 +139,10 @@ ${line# }" req_fields="${req_fields%% }" if [ -n "${req_fields}" ]; then # Missing required control fields. - req_fields="$(echo "${req_fields}" | \ - sed 's/ / /g' | \ + req_fields="$(echo "${req_fields}" | sed 's/ / /g' | \ sed "s/ /$(ob_get_msg 'list_item_separator')/g")" _ob_parse_control_error "${file}" '0' \ - 'control_missing_fields' \ - "${req_fields}" + 'control_missing_fields' "${req_fields}" fi fi @@ -260,8 +258,7 @@ _ob_parse_control_error() if [ "${line_nr}" -eq 0 ]; then file_info="$(printf '%20s:' "${file}")" else - file_info="$(printf '%20s(l%d):' "${file}" \ - "${line_nr}")" + file_info="$(printf '%20s(l%d):' "${file}" "${line_nr}")" fi orig_text_domain="$(ob_get_text_domain)" -- cgit v0.9.1