hp2ps fail with parse error when the command args contains double quotes
watashi % cat test.hs
main = pure ()
watashi % ghc -prof -rtsopts test.hs
watashi % ./test '{"e": 2.72, "pi": 3.14}' +RTS -h
watashi % hp2ps test.hp
hp2ps: test.hp, line 1: integer must follow identifier
Manually open test.hp
and remove the "
s in JOB
will mitigate the problem.
Trac metadata
Trac field | Value |
---|---|
Version | 8.7 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Profiling |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |