diff --git a/gosher b/gosher index 840b2b2..42fd49a 100755 --- a/gosher +++ b/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}"