[Surfraw-commits] [SCM] surfraw - a fast unix command line interface to WWW branch, master, updated. surfraw_2-2-5_1-137-g3bf0d23
Ian Beckwith
ianb at erislabs.net
Fri Oct 29 19:11:01 UTC 2010
The following commit has been merged in the master branch:
commit 3e894b81acc8b92785f56cc06055ad2d6ab33851
Author: Ian Beckwith <ianb at erislabs.net>
Date: Fri Oct 29 13:00:05 2010 +0100
uzbl_load_url_from_surfraw: pick up preferred awk implementation with @AWK@
diff --git a/ChangeLog b/ChangeLog
index 3be0b56..24227f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-29 Ian Beckwith <ianb at erislabs.net>
+
+ * uzbl_load_url_from_surfraw: use @AWK@ to pick up
+ ./configure's choice of awk implementation.
+
2010-10-28 Ian Beckwith <ianb at erislabs.net>
* Support -local-help, --local-help or -lh to get elvi-specific
diff --git a/examples/uzbl_load_url_from_surfraw.IN b/examples/uzbl_load_url_from_surfraw.IN
index a1fb839..b40ffd4 100755
--- a/examples/uzbl_load_url_from_surfraw.IN
+++ b/examples/uzbl_load_url_from_surfraw.IN
@@ -77,10 +77,10 @@ function goto()
# Use dmenu to navigate through possible choices
function present_menu()
{
- elvi=`surfraw -elvi | grep -v -e ' ELVI:' -e '^W' | awk '{print $1}'`
+ elvi=`surfraw -elvi | grep -v -e ' ELVI:' -e '^W' | @AWK@ '{print $1}'`
if [ -r "$BOOKMARKS" ]
then
- elvi="$elvi $(awk '{print $1}' "$BOOKMARKS" 2>/dev/null)"
+ elvi="$elvi $(@AWK@ '{print $1}' "$BOOKMARKS" 2>/dev/null)"
fi
echo "$elvi" | tr ' ' '\n' | sort | $DMENU -p "$PROMPT" $COLORS
--
surfraw - a fast unix command line interface to WWW
More information about the Surfraw-commits
mailing list