JuliaLang/julia — Issue #472: command-line arg processing is broken
Author: StefanKarpinski
Created: 2012-02-27 03:12:41+00:00
State: open
Labels: bugs

```
bash$ julia -e 'for x in ARGS; println(x); end' foo bar
-e
for x in ARGS; println(x); end
foo
bar
could not open file foo
```

The `-e` and `'for x in ARGS; println(x); end'` should not be included in `ARGS` and it should not try to load `foo` as a source file when the `-e` flag is used.