The problem there is that, on unix, the sh shell sees a ' pair and makes a string
On Windows, the cmd shell does not do anything with a ' character. Instead, you must use the " character. The second one may be a bug that snuck back in. Can you open an issue? On Sat, Jul 26, 2014 at 11:52 AM, Ivo Balbaert <[email protected]> wrote: > Hi all, > > I am a Julia newbie. Sorry if this is a stupid or known problem, but I > searched via Google and the Julia issues for it and found nothing. > > On my Ubuntu 14.04 machine with Julia version 0.3.0-rc1+54, the following > commands work fine and as expected: > julia -e 'a = 6 * 7; println(a)' prints out 42 > > julia args.jl 1 Dart C prints out 1, Dart and C > with args.jl containing: for arg in ARGS > > println(arg) > > end > > On my Windows (8.1) machine with Julia version 0.3.0-prerelease+3952, the > first prints out the following: > > C:\Users\CVO>julia -e 'a = 6 * 7; println(a)' > > ERROR: syntax: incomplete: invalid character literal > > in process_options at client.jl:213 > > in _start at client.jl:354 > > obviously the ' character is the error, but I couldn't find > with what to replace it to make it work > > The second command doesn't give an error, but also does not print out any > of the arguments. > > What is wrong here ? > > > Thank you, > > Ivo Balbaert > >
