From: Simon Ruderich Date: Tue, 29 Apr 2014 13:26:20 +0000 (+0200) Subject: shell/functions: don't use echo on user strings X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=d230a7af7a4d66f5311a3e7edcae18e7643cb134;p=config%2Fdotfiles.git shell/functions: don't use echo on user strings --- diff --git a/shell/functions b/shell/functions index 19109e7..12874c6 100644 --- a/shell/functions +++ b/shell/functions @@ -1,6 +1,6 @@ # Shell functions useful to all shells. -# Copyright (C) 2011-2012 Simon Ruderich +# Copyright (C) 2011-2014 Simon Ruderich # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -22,7 +22,7 @@ # available everywhere. source_debug() { if test "x$DEBUG" != x; then - echo "$@" + printf '%s' "$*" fi }