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 <[email protected]> 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 [email protected] Paul Townsend [email protected] Paul Worrall [email protected] Pawel Prokop [email protected] +Peng Yu [email protected] Per Cederqvist [email protected] Per Kristian Hove [email protected] Per Starbäck [email protected] 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
