logo       

Re: [GHC] #739: command-line expressions with double-quoted strings misinte: msg#00045

lang.haskell.glasgow.bugs

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

 
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@xxxxxxxxxx> wrote:
#739: command-line expressions with double-quoted strings misinterpret some
special symbols
-------------------------------------------+--------------------------------
Reporter:  pedromiguel.duarte@xxxxxxxxx  |          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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise