$OpenBSD$ --- examples/data/scripts/load_url_from_history.sh.orig Sat Apr 28 20:27:17 2012 +++ examples/data/scripts/load_url_from_history.sh Wed Nov 21 18:38:07 2012 @@ -15,7 +15,7 @@ if [ -z "$DMENU_HAS_VERTICAL" ]; then else # choose an item in reverse order, showing also the date and page titles # pick the last field from the first 3 fields. this way you can pick a url (prefixed with date & time) or type just a new url. - goto="$( tac "$UZBL_HISTORY_FILE" | $DMENU | cut -d ' ' -f -3 | awk '{ print $NF }' )" + goto="$( tail -r "$UZBL_HISTORY_FILE" | $DMENU | cut -d ' ' -f -3 | awk '{ print $NF }' )" fi [ -n "$goto" ] && echo "uri $goto" > "$UZBL_FIFO"