diff options
author | epoch <epoch@hacking.allowed.org> | 2020-04-29 05:33:52 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2020-04-29 05:33:52 -0500 |
commit | afc9fd38a7f43ac85ce31ad76f660346d90125da (patch) | |
tree | 921380016bea9c340e54cc736315896ff83a5fae /urigetline | |
parent | 8ec0b3da94b3bbc18140bdea22488d51676d2634 (diff) | |
download | uritools-afc9fd38a7f43ac85ce31ad76f660346d90125da.tar.gz uritools-afc9fd38a7f43ac85ce31ad76f660346d90125da.zip |
urigetline now ignores blank and commented out lines
Diffstat (limited to 'urigetline')
-rwxr-xr-x | urigetline | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" \ |