selector sanitisation

master 0.1
KatolaZ 6 years ago
parent ac38bc1fac
commit 1c23368916
  1. 2
      gosher

@ -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}"

Loading…
Cancel
Save