aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-04-12 21:16:07 -0600
committerGravatar Brendan Taylor <whateley@gmail.com>2011-04-12 21:16:07 -0600
commitcd737560c394196a2fff99afe5acc8d5c4ccb93a (patch)
tree5ab3972132ff09c2a659c7f57d417493afd9ff28 /examples
parenteb00f99bc300fc902beaeaa5385f5994ce904cdc (diff)
use 'echo' instead of 'print' in examples/data/scripts/*temp*.sh
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/data/scripts/insert_temp.sh3
-rwxr-xr-xexamples/data/scripts/load_url_from_temps.sh5
2 files changed, 3 insertions, 5 deletions
diff --git a/examples/data/scripts/insert_temp.sh b/examples/data/scripts/insert_temp.sh
index a67b645..7ed8d22 100755
--- a/examples/data/scripts/insert_temp.sh
+++ b/examples/data/scripts/insert_temp.sh
@@ -1,8 +1,7 @@
#!/bin/sh
. "$UZBL_UTIL_DIR/uzbl-dir.sh"
-. "$UZBL_UTIL_DIR/uzbl-util.sh"
>> "$UZBL_TEMPS_FILE" || exit 1
-print "$UZBL_URI $UZBL_TITLE\n" >> "$UZBL_TEMPS_FILE"
+echo "$UZBL_URI $UZBL_TITLE" >> "$UZBL_TEMPS_FILE"
diff --git a/examples/data/scripts/load_url_from_temps.sh b/examples/data/scripts/load_url_from_temps.sh
index 9788b0f..b46687b 100755
--- a/examples/data/scripts/load_url_from_temps.sh
+++ b/examples/data/scripts/load_url_from_temps.sh
@@ -5,7 +5,6 @@ DMENU_OPTIONS="xmms vertical resize"
. "$UZBL_UTIL_DIR/dmenu.sh"
. "$UZBL_UTIL_DIR/uzbl-dir.sh"
-. "$UZBL_UTIL_DIR/uzbl-util.sh"
[ -r "$UZBL_TEMPS_FILE" ] || exit 1
@@ -19,5 +18,5 @@ fi
sed -i -e "\<^$goto <d" $UZBL_TEMPS_FILE
-[ -n "$goto" ] && print "uri $goto\n" > "$UZBL_FIFO"
-#[ -n "$goto" ] && print "uri $goto\n" | socat - "unix-connect:$UZBL_SOCKET"
+[ -n "$goto" ] && echo "uri $goto" > "$UZBL_FIFO"
+#[ -n "$goto" ] && echo "uri $goto" | socat - "unix-connect:$UZBL_SOCKET"