match real bash behavior and limit user defined io fds to 3-9

This commit is contained in:
payonel 2016-07-21 20:51:01 -07:00
parent 35d93e2a93
commit 05ded1a4bc

View File

@ -9,7 +9,7 @@ local local_env = {tx=tx,unicode=unicode}
text.internal = {}
text.syntax = {"^%d*>>?&%d+$",";","&&","||?","^%d*>>?",">>?","<"}
text.syntax = {"^%d?>>?&%d+$",";","&&","||?","^%d?>>?",">>?","<"}
function --[[@delayloaded-start@]] text.detab(value, tabWidth)
checkArg(1, value, "string")