Package: coreutils
Version: 8.32-4+b1
Severity: minor

Dear Maintainer,

When I create a text file with a newline code of "\r\n" and
`cat` with the `-E, --show-ends` option, "$" is displayed at
the beginning of the line.
When `-A, --show-all` is used, it looks normal.


- Create a file for \r\n
> $ echo 'foo
> >     $ od -c dos.txt
> 0000000   f   o   o  \r  \n  \t   b   a   r  \r  \n
> 0000013
>   bar' | tr '\n' '\r\n' > dos.txt

- `-E, --show-ends` option
> $ cat -E dos.txt
> $oo
> $       bar
> $ cat -nE dos.txt
> $    1  foo
> $    2          bar

- `-A, --show-all` option
> $ cat -A dos.txt
> foo ^M$
> ^Ibar^M$
> $ cat -nA dos.txt
>      1  foo^M$
>      2  ^Ibar^M$





-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, arm64

Kernel: Linux 5.10.0-3-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CRAP, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages coreutils depends on:
ii  libacl1      2.2.53-10
ii  libattr1     1:2.4.48-6
ii  libc6        2.31-9
ii  libgmp10     2:6.2.1+dfsg-1
ii  libselinux1  3.1-2+b2

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information

Reply via email to