diff options
Diffstat (limited to 'src/shell.pest')
-rw-r--r-- | src/shell.pest | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shell.pest b/src/shell.pest index 4c5f728..dc3f247 100644 --- a/src/shell.pest +++ b/src/shell.pest @@ -14,7 +14,9 @@ var = @{ ("${" ~ (!"}" ~ ANY)+ ~ "}") } -redir_prefix = @{ ASCII_DIGIT* ~ (">>" | ">" | "<") ~ WHITESPACE* } +redir_prefix = @{ + ("in" | "out" | "err" | ASCII_DIGIT*) ~ (">>" | ">" | "<") ~ WHITESPACE* +} bareword = @{ bareword_char+ } single_string = @{ single_string_char+ } double_string = @{ double_string_char+ } |