summaryrefslogtreecommitdiffstats
path: root/eshtrans/main.esh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-02-21 14:43:40 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-02-21 14:43:40 (EST)
commit89ee6884b4d825d1d47b62380bdde93dd1842fa5 (patch)
treeef7da058f859fc54e7a83d3d1a11f4d024f0bd3e /eshtrans/main.esh
parent89268e7fae95bd6e215ca03f2b5276691ef31166 (diff)
downloadeggshell-89ee6884b4d825d1d47b62380bdde93dd1842fa5.zip
eggshell-89ee6884b4d825d1d47b62380bdde93dd1842fa5.tar.gz
eggshell-89ee6884b4d825d1d47b62380bdde93dd1842fa5.tar.bz2
eshtrans/frontend: Handle T_IO_NUMBERs
Also fix a couple bugs in accept().
Diffstat (limited to 'eshtrans/main.esh')
-rw-r--r--eshtrans/main.esh5
1 files changed, 4 insertions, 1 deletions
diff --git a/eshtrans/main.esh b/eshtrans/main.esh
index 81d002b..c27ad2f 100644
--- a/eshtrans/main.esh
+++ b/eshtrans/main.esh
@@ -112,5 +112,8 @@ main()
#try 'foo <<EOF' '$(bar baz)' 'EOF'
#try '$foo'
#try '${foo%bar baz}'
-try '$(($(foo bar) + 1))'
+#try '$(($(foo bar) + 1))'
+try 'foo 2>bar'
+try '2>bar'
+try '2 foo'
}