]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - shell/functions
shell/functions: don't use echo on user strings
[config/dotfiles.git] / shell / functions
index 19109e753aa2c04af9983ba55670dece40bb85b4..12874c6228a4f9f1f769729f8610a8d4fda318d8 100644 (file)
@@ -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
 }