[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: typo in man ls?
From: |
Jim Meyering |
Subject: |
Re: typo in man ls? |
Date: |
Sat, 25 Jun 2011 14:56:06 +0200 |
Peng Yu wrote:
> "Sort entries alphabetically if none of -cftuvSUX nor --sort."
>
> I suspect that there is a typo in the above sentence from man ls.
> Should it be "Sort entries alphabetically if none of -cftuvSUX nor
> --sort exists."?
Thanks. There was room for improvement there:
>From 10ec91d84a53b3acae630864c2e82f2a74fa9c38 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sat, 25 Jun 2011 14:54:45 +0200
Subject: [PATCH] doc: improve ls --help grammar
* src/ls.c (usage): Improve grammar.
Reported by Peng Yu.
---
THANKS.in | 1 +
src/ls.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/THANKS.in b/THANKS.in
index a7ec933..2979d52 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -454,6 +454,7 @@ Paul Slootman address@hidden
Paul Townsend address@hidden
Paul Worrall address@hidden
Pawel Prokop address@hidden
+Peng Yu address@hidden
Per Cederqvist address@hidden
Per Kristian Hove address@hidden
Per Starbäck address@hidden
diff --git a/src/ls.c b/src/ls.c
index a167254..c604e14 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -4588,7 +4588,7 @@ usage (int status)
printf (_("Usage: %s [OPTION]... [FILE]...\n"), program_name);
fputs (_("\
List information about the FILEs (the current directory by default).\n\
-Sort entries alphabetically if none of -cftuvSUX nor --sort.\n\
+Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.\n\
\n\
"), stdout);
fputs (_("\
--
1.7.6.rc2.302.gc2115