From be680422f05221fb7ad6c277b601ff3eb73be8f6 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sat, 29 Aug 2015 18:02:09 -0400 Subject: download script: use printf, not echo --- diff --git a/download b/download index 004c176..4071a9b 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 v0.9.1