[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64392: cksum: escaping issues of --check output
|
From: |
Christoph Anton Mitterer |
|
Subject: |
bug#64392: cksum: escaping issues of --check output |
|
Date: |
Sat, 01 Jul 2023 19:20:38 +0200 |
|
User-agent: |
Evolution 3.48.3-1 |
On Sat, 2023-07-01 at 17:07 +0100, Pádraig Brady wrote:
> Right. We traditionally didn't escape any chars in the --check
> output,
> but that changed with
> https://github.com/coreutils/coreutils/commit/646902b30
> To minimize escaping, that patch only considered the '\n' character,
> but we should also have considered file names with a leading '\'.
>
> The attached should address this.
Thanks, but wouldn't it be better to use exactly the same escaping as
in the sums output? I.e. also escaping \r?
Also, documenting the escaping behaviour in info/manpages?
Cheers,
Chris.
bug#64392: cksum: escaping issues of --check output, Christoph Anton Mitterer, 2023/07/01