Re: Raw ^M in xtrace output
Chet Ramey <[email protected]> Mon, 16 Mar 2026 10:36:05 -0400
| Newsgroups | gmane.comp.shells.bash.bugs |
|---|---|
| Organization | ITS, Case Western Reserve University |
| Message-ID | <[email protected]> |
On 3/15/26 11:17 AM, Marcel Schnippe wrote: > Bash Version: 5.2 > Patch Level: 21 > Release Status: release > > Description: > bash xtrace (set -x) inconsistently quotes \r (0x0D) in traced > values. When \r is embedded mid-string, > xtrace wraps in single quotes with raw 0x0D bytes instead of using > $'\r' escaping. This breaks tooling that > processes xtrace output line-by-line Thanks for the report. This was fixed back in June, 2023, and the change is in bash-5.3. > Social: Hey Chet, > Hope you are doing well? Thank you for supporting Bash. I love it! Thanks for your kind words. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
(application/pgp-signature, 203 B)
-----BEGIN PGP SIGNATURE----- wmMEABEIACMWIQR8ATX7CIqvbGbGULm7WGnwZOp0qwUCabgVVQUDAAAAAAAKCRC7WGnwZOp0q7At AJ4r8vRhkkT5Q1dlJvdR7KUq8aW2wQCgiz4QEnkT2g4ZivrgKKKfHLXGhfE= =KDKL -----END PGP SIGNATURE-----