changeset 9177:393748cfa9cc

<oerjan> sled bin/?//2s!"[)]!;s,\\(\\(..\\?\\)\\?/\\)*,,")!
author HackBot
date Thu, 06 Oct 2016 00:08:39 +0000
parents fd4ae3aff928
children 4a7dd09919f1
files bin/?
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/?	Wed Oct 05 23:53:00 2016 +0000
+++ b/bin/?	Thu Oct 06 00:08:39 2016 +0000
@@ -1,5 +1,5 @@
 #!/bin/bash
-topic=$(echo "$1" | lowercase | sed "s/noo\+dl/nooodl/;s/ *$//")
+topic=$(echo "$1" | lowercase | sed "s/noo\+dl/nooodl/;s/ *$//;s,((..?)?/)*,,")
 topic1=$(echo "$topic" | sed "s/s$//")
 cd wisdom
 if [ \( "_$topic1"_ = "_ngevd"_ \) -a \( -e ngevd \) ];