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

Pedro Miguel Duarte pedromiguel.duarte at gmail.com
Thu Apr 6 08:49:12 EDT 2006


Hi,


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"

If try
   ghc -e "reverse \"2^3\""
then i get
"32"


If you think its's worth i can rewrite
these examples as a new bug.


pedro




On 4/6/06, GHC <trac at galois.com> wrote:
>
> #739: command-line expressions with double-quoted strings misinterpret
> some
> special symbols
>
> -------------------------------------------+--------------------------------
> Reporter:  pedromiguel.duarte at gmail.com  |          Owner:
>      Type:  bug                           |         Status:  closed
> Priority:  normal                        |      Milestone:
> Component:  Compiler                      |        Version:  6.4.1
> Severity:  normal                        |     Resolution:  worksforme
> Keywords:                                |             Os:  Unknown
> Difficulty:  Unknown                       |   Architecture:  Unknown
>
> -------------------------------------------+--------------------------------
> Changes (by simonmar):
>
> * resolution:  => worksforme
> * status:  new => closed
>
> Comment:
>
> Discussion on the mailing list indicates that you were trying to do this
> from Java, and the problem is a result of the Java exec interface not
> understanding quoting (perhaps).
>
> The examples you give work fine from a /bin/sh command line on Linux or
> Windows.
>
> If you can provide a more specific example that fails, please re-open the
> bug.
>
> --
> Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/739>
> GHC <http://www.haskell.org/ghc/>
> The Glasgow Haskell Compiler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20060406/831ea2c6/attachment.htm


More information about the Glasgow-haskell-bugs mailing list