diff options
author | Daniel Baumann <daniel@debian.org> | 2008-08-14 20:25:29 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2008-08-14 20:25:29 +0200 |
commit | 5977735ed1df2c7411632a504090441cdecdd66b (patch) | |
tree | b4f2020984905db9e5009a94a7e4a345e2c3fe89 | |
parent | 8299a9c361aa8c250458da984387538f7c47bd86 (diff) | |
download | vyos-live-build-5977735ed1df2c7411632a504090441cdecdd66b.tar.gz vyos-live-build-5977735ed1df2c7411632a504090441cdecdd66b.zip |
Adding generic echo function.
-rwxr-xr-x | functions/echo.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/functions/echo.sh b/functions/echo.sh index d865ddb02..c5ec7e5e8 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}" |