From fe8484f3cd11620e793dba71425abcb3cde9757e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 14 Aug 2008 20:25:29 +0200 Subject: Adding generic echo function. --- functions/echo.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/functions/echo.sh b/functions/echo.sh index d865ddb..c5ec7e5 100755 --- a/functions/echo.sh +++ b/functions/echo.sh @@ -9,6 +9,14 @@ set -e +Echo () +{ + STRING="${1}" + shift + + printf "$(eval_gettext "${STRING}")" "${@}"; echo; +} + Echo_debug () { STRING="${1}" -- cgit v1.0