diff options
author | P. J. McDermott <pjm@nac.net> | 2013-08-18 10:19:12 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-08-18 10:19:12 (EDT) |
commit | a4f487515482a611da8cf82d084eedf19bdda4af (patch) | |
tree | ede99954d471f326ab10174d6b6b9b04b8a71049 /lib | |
parent | c8ab5c71a1c0e63f0be7d6d91ed7998808ca7c20 (diff) |
lib/control.sh: Reflow long command lines.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/control.sh | 9 |
1 files changed, 3 insertions, 6 deletions
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)" |