summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2018-07-16 14:04:13 +0200
committerKatolaZ <katolaz@freaknet.org>2018-07-16 14:12:55 +0100
commite5f23ea72935a4b1164914aaf56e6fb40d747d5b (patch)
tree752f6ddfe6b72e5e0b7d510d2804f6311048747d
parentc15a524ced17da029abaa09bdb025487a3b27551 (diff)
Correct gph conversion for t line exception.
-rwxr-xr-xgosher3
1 files changed, 3 insertions, 0 deletions
diff --git a/gosher b/gosher
index 23319b8..b4263c0 100755
--- a/gosher
+++ b/gosher
@@ -75,6 +75,9 @@ serve_index(){
'['*)
echo $rline | sed -r -e 's/\[//g;s/\]//g;s/\|/\t/g;s/\t//;s/$/\r/g'
;;
+ t*)
+ echo $rline | cut -c 2-
+ ;;
*)
echo $line
esac