[GHC] #739: command-line expressions with double-quoted strings misinterpret some special symbols

Simon Marlow simonmarhaskell at gmail.com
Wed Apr 19 06:39:13 EDT 2006


Pedro Miguel Duarte wrote:

>  
> I am running GHC on a windows XP platform.
> The bug i did report has nothing to do with java.
>  
> Yes I found the problem while running a java program,
> but then i did try  to execute
>    ghc -e "reverse \"2<3\""
> directly on a command line,
>  and i get a message like
> "the system can't find the specified file"

You need to tell us exactly what shell you were using (Windows command 
prompt, cygwin bash, MSYS bash, etc.), exactly the command you typed and 
the exact error message you get (just cut & paste).

I suspect this is just due to the shell you were using not understanding 
the quoting you were using.  The command you give above should work in 
bash, but probably not Windows command prompt.

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list