repo: uritools
action: commit
revision: 
path_from: 
revision_from: afc9fd38a7f43ac85ce31ad76f660346d90125da:
path_to: 
revision_to: 
git.thebackupbox.net
uritools
git clone git://git.thebackupbox.net/uritools
commit afc9fd38a7f43ac85ce31ad76f660346d90125da
Author: epoch 
Date:   Wed Apr 29 05:33:52 2020 -0500

    urigetline now ignores blank and commented out lines

diff --git a/urigetline b/urigetline
index 81e28c9fff04f476cd34ea290507fe0f3c6b44a2..
index ..6d20320ebb871a80a62a9e090b21a9314d367aa0 100755
--- a/urigetline
+++ b/urigetline
@@ -4,7 +4,7 @@ uri="$1"
 # line="$(grep "^${scheme}:" ~/.config/uristart.conf | cut -d: -f2- | sed 's/^[ \t]*//g' | sed 's/\\/\\\\/g')"

 ### fancy way.
-cat ~/.config/uristart.conf \
+grep '^[^#]' ~/.config/uristart.conf \
   | while read -r l;do
         uritmp="$uri"
         uritmp="$(printf "%s\n" "$l" \

-----END OF PAGE-----