mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-10 23:32:57 -07:00
Make SC1012 "printf '\t'" suggestion use single quotes
This commit is contained in:
parent
db33294838
commit
b01f1128c7
1 changed files with 1 additions and 1 deletions
|
@ -1367,7 +1367,7 @@ readNormalEscaped = called "escaped char" $ do
|
|||
return [next]
|
||||
where
|
||||
alternative 'n' = "a quoted, literal line feed"
|
||||
alternative t = "\"$(printf \"\\" ++ [t] ++ "\")\""
|
||||
alternative t = "\"$(printf '\\" ++ [t] ++ "')\""
|
||||
escapedChar 'n' = Just "line feed"
|
||||
escapedChar 't' = Just "tab"
|
||||
escapedChar 'r' = Just "carriage return"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue