From c8fa3c8dbfa58512ab7efe0aa162cb8da7ffdc09 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 27 Sep 2015 08:54:02 +0200 Subject: [PATCH 1/3] stty: improve the wording of the CR-LF translation options * src/stty.c: Make the description of the onlcr option slightly clearer, and harmonize the description of onlret with those of ocrnl and onlcr. * doc/coreutils.texi: Likewise. --- doc/coreutils.texi | 4 ++-- src/stty.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index a029ec6..ff65b2e 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -13908,7 +13908,7 @@ Translate carriage return to newline. address@hidden May be negated. @item onlcr @opindex onlcr @cindex newline, translating to crlf -Translate newline to carriage return-newline. address@hidden May be +Translate newline to carriage return + newline. address@hidden May be negated. @item onocr @@ -13918,7 +13918,7 @@ May be negated. @item onlret @opindex onlret -Newline performs a carriage return. address@hidden May be negated. +Translate newline to carriage return. address@hidden May be negated. @item ofill @opindex ofill diff --git a/src/stty.c b/src/stty.c index c0057f2..0833475 100644 --- a/src/stty.c +++ b/src/stty.c @@ -755,12 +755,12 @@ Output settings:\n\ #endif #ifdef ONLCR fputs (_("\ - * [-]onlcr translate newline to carriage return-newline\n\ + * [-]onlcr translate newline to carriage return + newline\n\ "), stdout); #endif #ifdef ONLRET fputs (_("\ - * [-]onlret newline performs a carriage return\n\ + * [-]onlret translate newline to carriage return\n\ "), stdout); #endif #ifdef ONOCR -- 1.7.0.4