grml-exec-wrapper: do not use print
authorFrank Terbeck <ft@bewatermyfriend.org>
Sun, 15 Feb 2009 16:58:10 +0000 (17:58 +0100)
committerFrank Terbeck <ft@bewatermyfriend.org>
Sun, 15 Feb 2009 17:08:21 +0000 (18:08 +0100)
print is not portable. printf is, so let us use that.

usr_bin/grml-exec-wrapper

index af15d98..8159246 100755 (executable)
@@ -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
 }