From 05ded1a4bc7da2f0352a067cb19dc8231aa1af2f Mon Sep 17 00:00:00 2001 From: payonel Date: Thu, 21 Jul 2016 20:51:01 -0700 Subject: [PATCH] match real bash behavior and limit user defined io fds to 3-9 --- .../resources/assets/opencomputers/loot/openos/lib/text.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/assets/opencomputers/loot/openos/lib/text.lua b/src/main/resources/assets/opencomputers/loot/openos/lib/text.lua index 353efb132..26cf6921f 100644 --- a/src/main/resources/assets/opencomputers/loot/openos/lib/text.lua +++ b/src/main/resources/assets/opencomputers/loot/openos/lib/text.lua @@ -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")