From: Pádraig Brady Date: Sun, 23 Nov 2025 12:14:11 +0000 (+0000) Subject: doc: cat -E: mention ^M$ output possibility X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c323dce5b08387b9f0676b6818edd9388b468af;p=thirdparty%2Fcoreutils.git doc: cat -E: mention ^M$ output possibility * src/cat.c (usage): Document the ^M$ combination which is output for \r\n line endings. Fixes https://github.com/coreutils/coreutils/issues/130 --- diff --git a/src/cat.c b/src/cat.c index 2a3c1d18a0..6b86968635 100644 --- a/src/cat.c +++ b/src/cat.c @@ -101,7 +101,7 @@ Concatenate FILE(s) to standard output.\n\ -A, --show-all equivalent to -vET\n\ -b, --number-nonblank number nonempty output lines, overrides -n\n\ -e equivalent to -vE\n\ - -E, --show-ends display $ at end of each line\n\ + -E, --show-ends display $ or ^M$ at end of each line\n\ -n, --number number all output lines\n\ -s, --squeeze-blank suppress repeated empty output lines\n\ "), stdout);