Topic lookup speed increase, code quality improvement
diff --git a/lib/adapter/cmd.py b/lib/adapter/cmd.py
index 8653ae28..5d2ffa6a 100644
--- a/lib/adapter/cmd.py
+++ b/lib/adapter/cmd.py
@@ -130,8 +130,9 @@ def _get_command(self, topic, request_options=None):
             cmd[0] = _get_abspath(cmd[0])
 
         # cut oeis/ off
+        # Space delimiter for args to oeis.sh
         if topic.startswith("oeis/"):
-            topic = topic[5:]
+            topic = topic[5:].replace('+',' ')
 
         return cmd + [topic]
 
diff --git a/share/adapters/rfc.sh b/share/adapters/rfc.sh
index 9e7af405..f537abca 100755
--- a/share/adapters/rfc.sh
+++ b/share/adapters/rfc.sh
@@ -5,7 +5,16 @@
 # Search for an RFC
 # Contrib to chubin - cheat.sh
 RFC_get()
-{
+(
+  rfc_describe() {
+    sed -ne '/0001/,$p' ${RFC_INDEX} \
+      | tr '\n' '#' \
+      | sed 's/##/\n/g' \
+      | sed 's/#    //g' \
+      | grep -o '.*\. ' \
+      | sed -r 's/^(.*)(January|February|March|April|May|June|July|August|September|October|November|December) [[:digit:]]{4}(.*)$/\1/'
+  }
+
   mkdir -p /tmp/RFC_get
   local WEB_RESP="/tmp/RFC_get/rfc_get_web_resp_${RANDOM}.html"
   local RFC_INDEX="/tmp/RFC_get/rfc_index.html"
@@ -74,41 +83,21 @@ RFC_get()
   elif [[ "${1,,}" == ":list" ]]
   then
     # Format RFC_INDEX to show short description of each RFC
-    sed -ne '/0001/,$p' ${RFC_INDEX} \
-      | tr '\n' '#' \
-      | sed 's/##/\n/g' \
-      | sed 's/#    //g' \
-      | grep -o '.*\. ' \
-      | sed -r 's/^(.*)(January|February|March|April|May|June|July|August|September|October|November|December) [[:digit:]]{4}(.*)$/\1/' \
+    rfc_describe \
       | grep -v 'Not Issued' \
       | sed 's/ .*//; s/^0*//'
-    # printf "\nValid RFC numbers: [ ${MIN_RFC} - ${MAX_RFC} ]\n"
     return 0
   # Print list of available RFCs
   elif [[ "${1,,}" == ":describe" ]]
   then
     # Format RFC_INDEX to show short description of each RFC
-    sed -ne '/0001/,$p' ${RFC_INDEX} \
-      | tr '\n' '#' \
-      | sed 's/##/\n/g' \
-      | sed 's/#    //g' \
-      | grep -o '.*\. ' \
-      | sed -r 's/^(.*)(January|February|March|April|May|June|July|August|September|October|November|December) [[:digit:]]{4}(.*)$/\1/'
-    # printf "\nValid RFC numbers: [ ${MIN_RFC} - ${MAX_RFC} ]\n"
+    rfc_describe
     return 0
   # Format list of RFCs related to keyword:   RFC_N  RFC_Title
   else
     ARG="$*"
-    curl "https://www.rfc-editor.org/search/rfc_search_detail.php?title=${ARG}" 2>/dev/null \
-      | sed 's/href="/\n/g; s/.html/.html\n/g' \
-      | grep -A 1 --color=auto 'http.*.html' \
-      | sed '/boldtext/d; s/"target/<"target/g; s/<[^>]*>//g; /HTML,/d; s/HTML//; /--/d' \
-      | grep -v -B 1 html \
-      | rev \
-      | sed 's/lmth\.//; s/cfr.*//; /--/d' \
-      | rev \
-      | sed 's/[A-Z]\..*//; /mail-archive/,+1d; s/^[ \t]*//' \
-      | sed  's/&nbsp.*//g; s/<a//g; N ; s/\n/:\t/' \
+    rfc_describe \
+      | grep -i "$ARG" \
       > $WEB_RESP
   fi
   # Format nicely and print
@@ -122,6 +111,6 @@ RFC_get()
     cat -s ${WEB_RESP}
     return 0
   fi
-}
+)
 
 RFC_get "$1"

## RFC
- ```rfc_describe``` helper function created.
- Topic lookup section changed from parsing ``` curl "https://www.rfc-editor.org/search/rfc_search_detail.php?title=${ARG}" 2>/dev/null \``` to simply doing a ```grep``` of the index file using the ```rfc_describe``` helper function.
- - This is faster because the index file is stored locally.

## OEIS
- hopefully fixed arg passing issue between ```cmd.py``` and ```oeis.sh``` by using a delimiter 