fix:Hledger.Utils.String: quoteForCommandLine no longer quotes "7" [#2468]
7 is no longer considered a scary shell character. (This appears to have been harmless, used only for formatting the balance assertion failure message.)
This commit is contained in:
parent
7dbdbf1e17
commit
71b1293f06
@ -184,7 +184,7 @@ quotechars, whitespacechars, redirectchars, shellchars :: [Char]
|
||||
quotechars = "'\""
|
||||
whitespacechars = " \t\n\r"
|
||||
redirectchars = "<>"
|
||||
shellchars = "<>(){}[]$7?#!~`"
|
||||
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