blob: 78454b78a2e9aaca4ceb6b37dfa0b5e7e780de42 (
plain) (
blame)
1
2
3
4
|
#!/bin/sh
scheme="$(printf "%s\n" "$1" | uricut -s)"
line="$(grep "^${scheme}:" ~/.config/uristart.conf | cut -d: -f2- | sed 's/^[ \t]//g')"
eval "$(printf "%s\n" "$1" | sed 's/'\''/'\''\\'\'''\''/g' | uriprintf "$line")"
|