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

Ian Beckwith ianb at erislabs.net
Sun Oct 25 15:56:16 UTC 2009


The following commit has been merged in the master branch:
commit 06ab3a264cea399a2a3e4d4e8f50950a8962c952
Author: Ian Beckwith <ianb at erislabs.net>
Date:   Tue Oct 20 18:29:50 2009 +0100

    sr -elvi: revert indenting of elvi list, it messes with tabs

diff --git a/surfraw.IN b/surfraw.IN
index 61de1a4..d1a5cbf 100644
--- a/surfraw.IN
+++ b/surfraw.IN
@@ -317,12 +317,12 @@ w3_parse_option () {
     w3_parse_option_hook "$opt" "$optarg" && return 0
     case "$opt" in
 	-browser=*)	    setopt   SURFRAW_browser		$optarg	;;
-	-elvi)		    echo "Global elvi:"
-			    sed -n 's/^.*elvis: \(.*\)$/  \1/p' $elvidir/*
+	-elvi)		    echo " GLOBAL ELVI:"
+			    sed -n 's/^.*elvis: \(.*\)$/\1/p' $elvidir/*
 			    localelvidir=$(get_local_elvi_dir)
 			    if [ -d "$localelvidir" ]; then
-				echo "Local elvi:"
-				sed -n 's/^.*elvis: \(.*\)$/  \1/p' "$localelvidir/"*
+				echo " LOCAL ELVI:"
+				sed -n 's/^.*elvis: \(.*\)$/\1/p' "$localelvidir/"*
 			    fi
 			    exit 0 ;;
 	-escape-url-args=*) setoptyn SURFRAW_escape_url_args	$optarg ;;

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



More information about the Surfraw-commits mailing list