fix:Hledger.Utils.String: quoteForCommandLine now quotes "&" [#2468]
This explains the mysterious "7".
This commit is contained in:
parent
71b1293f06
commit
e8672b3a18
@ -184,7 +184,7 @@ quotechars, whitespacechars, redirectchars, shellchars :: [Char]
|
||||
quotechars = "'\""
|
||||
whitespacechars = " \t\n\r"
|
||||
redirectchars = "<>"
|
||||
shellchars = "<>(){}[]$?#!~`"
|
||||
shellchars = "<>(){}[]$&?#!~`"
|
||||
|
||||
-- | Quote-aware version of words - don't split on spaces which are inside quotes.
|
||||
-- NB correctly handles "a'b" but not "''a''". Can raise an error if parsing fails.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user