|
From: | Grisha Levit |
Subject: | quotearg: shell escape issue with single quote |
Date: | Sat, 30 Mar 2024 21:16:07 -0400 |
If a string starts with a sequence that requires $'' quoting followed by a \' and then another charactrer requiring $'' quoting, the '$' at the start of the quoted string ends up missing: $ env printf '%q\n' $'\1\'\2' '\001'\'''$'\002'
[Prev in Thread] | Current Thread | [Next in Thread] |