From 026a683b771ef549337777a28b636555dabd260b Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Fri, 15 Aug 2008 23:08:43 +0100 Subject: Don't use interpolation to print usage and help as it breaks newlines and tabs. --- functions/help.sh | 4 ++-- functions/usage.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/help.sh b/functions/help.sh index 5bad826..c0d3fe6 100755 --- a/functions/help.sh +++ b/functions/help.sh @@ -18,7 +18,7 @@ Help () if [ -n "${USAGE}" ] then - Echo "%s" "${USAGE}" + Echo "${USAGE}" echo fi Echo " %s [-h|--help]" "${PROGRAM}" @@ -28,7 +28,7 @@ Help () if [ -n "${HELP}" ] then - Echo "%s" "${HELP}" + Echo "${HELP}" echo fi diff --git a/functions/usage.sh b/functions/usage.sh index f228dd7..08161ae 100755 --- a/functions/usage.sh +++ b/functions/usage.sh @@ -18,7 +18,7 @@ Usage () if [ -n "${USAGE}" ] then - Echo " %s" "${USAGE}" + Echo " ${USAGE}" echo fi -- cgit v1.0