From c6ffd59608dcef2de5b527be745a2c4275f465ae Mon Sep 17 00:00:00 2001 From: pancake Date: Thu, 11 Jul 2024 18:36:12 +0200 Subject: [PATCH] Disable the #> checks --- r2ai/repl.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/r2ai/repl.py b/r2ai/repl.py index 387c6bf..bb114be 100644 --- a/r2ai/repl.py +++ b/r2ai/repl.py @@ -166,14 +166,14 @@ def runline(ai, usertext): return if usertext == "q": return "q" - pipepos = usertext.find("|") - if pipepos != -1: - usertext = usertext[0:pipepos - 1] - print("TODO: | pipes are not yet implemented in r2ai", file=sys.stderr) - redipos = usertext.find(">") - if redipos != -1: - usertext = usertext[0:redipos - 1] - print("TODO: > redirections are not yet implemented in r2ai", file=sys.stderr) +# pipepos = usertext.find("|") +# if pipepos != -1: +# usertext = usertext[0:pipepos - 1] +# print("TODO: | pipes are not yet implemented in r2ai", file=sys.stderr) +# redipos = usertext.find(">") +# if redipos != -1: +# usertext = usertext[0:redipos - 1] +# print("TODO: > redirections are not yet implemented in r2ai", file=sys.stderr) if usertext.startswith("-H"): try: return r2ai_vars(ai, usertext[2:].strip())