From e7887ec3a6ae680da35c5e4d869be40e1c3e2605 Mon Sep 17 00:00:00 2001 From: Adam Spragg Date: Mon, 11 Apr 2022 14:38:27 +0100 Subject: Split long command over multiple lines --- adu-download | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/adu-download b/adu-download index dff7501..57a4716 100755 --- a/adu-download +++ b/adu-download @@ -41,7 +41,10 @@ if $CHECK_LISTBUGS && command -v apt-listbugs >/dev/null; then sed_upg_lb='s:^\([^/]\+\)/[^ ]\+ \([^ ]\+\) .*:\1/\2:' #echo "Checking for bugs in: $(echo "$upgradeable" | sed -e "$sed_upg_lb")" - bugs=$(echo "$upgradeable" | sed -e "$sed_upg_lb" | xargs apt-listbugs -q list | grep -E -- "- #[[:digit:]]+ -") + bugs=$(echo "$upgradeable" \ + | sed -e "$sed_upg_lb" \ + | xargs apt-listbugs -q list \ + | grep -E -- "- #[[:digit:]]+ -") if [ -n "$bugs" ]; then #echo "$bugs" echo "$upgrades upgrades available, but $(echo "$bugs" | wc -l) bugs exist - ignoring upgrade" -- cgit v1.2.1