diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2021-05-10 11:09:40 +0430 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-10 10:43:23 +0200 |
commit | 417910fd28147987fd09f4ec535aa2b759dce968 (patch) | |
tree | e05a84df40bedf304c1b04eade2cd98eb81463a5 /Meta/lint-python.sh | |
parent | 22b244df4580ae9e8c35899a513dd0eb7bff5fd0 (diff) | |
download | serenity-417910fd28147987fd09f4ec535aa2b759dce968.zip |
Shell: Make escaping more intelligent
Instead of the previous only-escape-with-backslashes, extend the
escaping to one of:
- No escape
- Escape with backslash
- Escape with "\xhh" if control character that isn't easily represented
as \X
- Escape with "\uhhhhhhhh" if unicode character that is too big to
represent as "\xhh".
Fixes #6986.
Diffstat (limited to 'Meta/lint-python.sh')
0 files changed, 0 insertions, 0 deletions