summaryrefslogtreecommitdiff
path: root/gosher
diff options
context:
space:
mode:
Diffstat (limited to 'gosher')
-rwxr-xr-xgosher2
1 files changed, 1 insertions, 1 deletions
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}"