projects
/
grml-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da7cf59
)
grml-exec-wrapper: do not use print
author
Frank Terbeck
<ft@bewatermyfriend.org>
Sun, 15 Feb 2009 16:58:10 +0000
(17:58 +0100)
committer
Frank 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
patch
|
blob
|
history
diff --git
a/usr_bin/grml-exec-wrapper
b/usr_bin/grml-exec-wrapper
index
af15d98
..
8159246
100755
(executable)
--- 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
+ print
f '%s\n'
"$1">&2
fi
}