How do I make bat
use LF
and ^D
on Windows, similar to cat
on Linux instead of CRLF
and ^Z
?
#2889
Labels
question
Further information is requested
The app description says "A cat(1) clone", so I expected it to behave like
cat
more :)GNU coreutils
cat
, whether natively on Linux or through emulation such as Cygwin/MSYS2 on Windows, always usesLF
characters, and when doingcat | hexdump -Cv
, it waits for^D
before terminating.On Linux,
bat
behaves as I expect, usingLF
and waiting for^D
whencat
ing tohexdump
. On Windows, however, it usesCRLF
and waits for^Z
instead.I doubt there is a setting somewhere to change this, but it would be great if I could be pointed to where to patch my local install of
bat
to behave more like GNU coreutilscat
on Windows.Thanks in advance.
The text was updated successfully, but these errors were encountered: