From be680422f05221fb7ad6c277b601ff3eb73be8f6 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sat, 29 Aug 2015 23:02:09 +0100 Subject: download script: use printf, not echo --- download | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'download') diff --git a/download b/download index 004c176d..4071a9be 100755 --- a/download +++ b/download @@ -61,7 +61,7 @@ case "${@}" in ;; *) for programme in "${@}"; do - echo "${programmes}" | grep -wq "${programme}" || (printf "ERROR: Invalid programme '%s'. See ./download help.\n" "${programme}"; exit 1) + printf "%s" "${programmes}\n" | grep -wq "${programme}" || (printf "ERROR: Invalid programme '%s'. See ./download help.\n" "${programme}"; exit 1) done programmes="${*}" ;; -- cgit v1.2.3-70-g09d2