[Surfraw-commits] [SCM] surfraw - a fast unix command line interface to WWW branch, master, updated. surfraw_2-2-5_1-243-gb6c705d

Kyle Isom coder at kyleisom.net
Wed Oct 17 03:54:04 UTC 2012


The following commit has been merged in the master branch:
commit b6c705d84c9e8b07540eeff67926cc392025cada
Author: Kyle Isom <coder at kyleisom.net>
Date:   Tue Oct 16 21:53:03 2012 -0600

    really remove bashism from elvi/yandex

diff --git a/elvi/yandex b/elvi/yandex
index 9d5ba3c..f345691 100755
--- a/elvi/yandex
+++ b/elvi/yandex
@@ -33,7 +33,7 @@ w3_parse_option_hook () {
        *)      return 1
     esac
     setopt SURFRAW_yandex_domain "${opt:+${opt#-}.}"
-    [[ -n $search ]] && setopt SURFRAW_yandex_search "${search}text"
+    [ -n $search ] && setopt SURFRAW_yandex_search "${search}text"
     return 0
 }
 

-- 
surfraw -  a fast unix command line interface to WWW



More information about the Surfraw-commits mailing list