diff options
author | KatolaZ <katolaz@freaknet.org> | 2018-07-17 09:17:04 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2018-07-17 09:17:04 +0100 |
commit | 1c2336891610d7ff1077e4621e35285750d90e19 (patch) | |
tree | 76feb9e4a9e0a0c36600714f0b30a47d4ac880aa | |
parent | ac38bc1facc5994417787908242dc0fa204d5851 (diff) |
selector sanitisation0.1
-rwxr-xr-x | gosher | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -113,7 +113,7 @@ GOPHERDIR=${1:-"./"} read selector -selector=$(echo $selector | sed -r 's:\r::g' ) +selector=$(echo $selector | sed -r 's:\$.*::g;s:\r::g' ) [ -n "$DEBUG" ] && { echo "iGOPHERDIR: ${GOPHERDIR}" |