From: Frank Terbeck Date: Sun, 15 Feb 2009 16:58:10 +0000 (+0100) Subject: grml-exec-wrapper: do not use print X-Git-Tag: v1.1.18~6^2~1 X-Git-Url: http://git.grml.org/?p=grml-scripts.git;a=commitdiff_plain;h=78cd3bc89d1e9e7a670b2eb529d1791f6b43f551 grml-exec-wrapper: do not use print print is not portable. printf is, so let us use that. --- diff --git a/usr_bin/grml-exec-wrapper b/usr_bin/grml-exec-wrapper index af15d98..8159246 100755 --- a/usr_bin/grml-exec-wrapper +++ b/usr_bin/grml-exec-wrapper @@ -28,7 +28,7 @@ display_info() { if is_installed Xdialog && test -n "$DISPLAY" ; then Xdialog --title "grml-exec-wrapper" --msgbox "$1" 0 0 0 else - print "$1">&2 + printf '%s\n' "$1">&2 fi }