Skip to content

Commit c6ffd59

Browse files
committed
Disable the #> checks
1 parent 3fab667 commit c6ffd59

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

r2ai/repl.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,14 @@ def runline(ai, usertext):
166166
return
167167
if usertext == "q":
168168
return "q"
169-
pipepos = usertext.find("|")
170-
if pipepos != -1:
171-
usertext = usertext[0:pipepos - 1]
172-
print("TODO: | pipes are not yet implemented in r2ai", file=sys.stderr)
173-
redipos = usertext.find(">")
174-
if redipos != -1:
175-
usertext = usertext[0:redipos - 1]
176-
print("TODO: > redirections are not yet implemented in r2ai", file=sys.stderr)
169+
# pipepos = usertext.find("|")
170+
# if pipepos != -1:
171+
# usertext = usertext[0:pipepos - 1]
172+
# print("TODO: | pipes are not yet implemented in r2ai", file=sys.stderr)
173+
# redipos = usertext.find(">")
174+
# if redipos != -1:
175+
# usertext = usertext[0:redipos - 1]
176+
# print("TODO: > redirections are not yet implemented in r2ai", file=sys.stderr)
177177
if usertext.startswith("-H"):
178178
try:
179179
return r2ai_vars(ai, usertext[2:].strip())

0 commit comments

Comments
 (0)