|
From: | Paul Eggert |
Subject: | bug#30535: Output buffer overwritten when CR in file |
Date: | Mon, 19 Feb 2018 12:13:17 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
Wayne Gemmell wrote:
I would expect the CR to be output verbatim
It is output verbatim, just as you expect. For example: $ printf 'messag1\rlogin\rmask' >test.log 503-day $ grep --color=never login test.log | od -c 0000000 m e s s a g 1 \r l o g i n \r m a 0000020 s k \n 0000023
[Prev in Thread] | Current Thread | [Next in Thread] |