summaryrefslogtreecommitdiff
path: root/urigetline
diff options
context:
space:
mode:
authorepoch <epoch@thebackupbox.net>2020-05-01 15:59:36 -0500
committerepoch <epoch@thebackupbox.net>2020-05-01 15:59:36 -0500
commit39eac44f867024563448d0b606af851dff8aa35f (patch)
tree4420e347691fe2acbd377c5b91df3296549a872f /urigetline
parentb26efcc56e7389dfb550ab63ecc01aa176bf1fbf (diff)
parentafc9fd38a7f43ac85ce31ad76f660346d90125da (diff)
downloaduritools-39eac44f867024563448d0b606af851dff8aa35f.tar.gz
uritools-39eac44f867024563448d0b606af851dff8aa35f.zip
Merge branch 'master' of ssh://thebackupbox.net:65432/~/uritools
Diffstat (limited to 'urigetline')
-rwxr-xr-xurigetline2
1 files changed, 1 insertions, 1 deletions
diff --git a/urigetline b/urigetline
index 81e28c9..6d20320 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" \