Bug in ghc-502 with system "cmd > tmp"?

Bernd Holzmüller holzmueller@ics-ag.de
Fri, 12 Oct 2001 13:26:23 +0200


Hi all,

I have the following problem on Windows NT using ghc 5.02 from a cygwin
bash-shell. Calls to System.system of the form

   system $ "grep -E "  ++ show str ++ " " ++ file ++ " > tmp"

do not work because of the ">" (ditto with "<"). Execution yields:

   grep: >: No such file or directory

Hugs works fine here. Any solution/workaround?


Thanks,

Bernd Holzmüller