[GHC] #10785: ghc-pkg appends colon to db path when piped/redirected
GHC
ghc-devs at haskell.org
Fri Aug 21 12:51:27 UTC 2015
#10785: ghc-pkg appends colon to db path when piped/redirected
-------------------------------------+-------------------------------------
Reporter: jgertm | Owner: jgertm
Type: bug | Status: new
Priority: normal | Milestone:
Component: ghc-pkg | Version: 7.10.2
Keywords: colon pipe | Operating System: Unknown/Multiple
redirect ghc-pkg list |
Architecture: | Type of failure: Other
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Revisions: |
-------------------------------------+-------------------------------------
Quite simple. Compare the first line of output from
{{{#!sh
ghc-pkg list
ghc-pkg list | head
}}}
In the second command's output, a colon gets appended at the end of the
first line, compared to the first command. This is generally undesired
behaviour, since the intent of redirection is to further process the
output of the original command.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10785>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list