diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-02-27 22:50:20 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-02-27 22:50:20 +0100 |
commit | 1e1b7fed63b806c2788baa4ca6c4244b7544006a (patch) | |
tree | 52e5f180fd8a9dbd99d47b6c43ff908d8927cb67 | |
parent | 2102e1ed005293b73e105729cc404ee6557a0508 (diff) |
fix commander not working
-rwxr-xr-x | bin/guiscripts/sturl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/guiscripts/sturl b/bin/guiscripts/sturl index d261e32..27a8f47 100755 --- a/bin/guiscripts/sturl +++ b/bin/guiscripts/sturl @@ -1,7 +1,7 @@ #!/bin/sh regex='(((file|https?|gopher|gemini|ftps?|git)://|www\.)[a-zA-Z0-9.]*[:;!a-zA-Z0-9./+@$&%?$\#=_~-]*)|(magnet:\?xt=urn:btih:[a-zA-Z0-9]*)' -url="$(tr -d '\n' | grep -Eo "$regex" | commander -cl)" +url="$(tr -d '\n' | grep -Eo "$regex" | commander -xcl)" [ -z "$url" ] && exit 1 case $1 in |