# HG changeset patch # User HackEso # Date 1573774928 0 # Node ID f79df0b509c89dc364d6d1e05d07d6aac31a2bc8 # Parent dff0129e4a40c12823cab9794a82d4874ba028b3 fetch bin/whatis https://hack.esolangs.org/get/bin/whatis diff -r dff0129e4a40 -r f79df0b509c8 bin/whatis --- a/bin/whatis Thu Nov 14 23:41:32 2019 +0000 +++ b/bin/whatis Thu Nov 14 23:42:08 2019 +0000 @@ -11,7 +11,7 @@ argorg.append(arg) argfoldv.append(arg.casefold()) foundv.append(False) - with open(os.environ.get("HACKENV","/hackenv") + /share/whatis", errors="surrogateescape") as whatisdb: + with open(os.environ.get("HACKENV","/hackenv") + "/share/whatis", errors="surrogateescape") as whatisdb: for line in whatisdb: parts = re.match(r"([^()]+)\(([0-9A-Z_a-z]+)\)", line) if parts: