Skip to content

Commit

Permalink
Disable the #> checks
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Jul 11, 2024
1 parent 3fab667 commit c6ffd59
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions r2ai/repl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit c6ffd59

Please # to comment.