mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
doc: mention how to avoid newlines impacting ls -1
* src/ls.c (usage): Mention the -b and -q options in the -1 description. * doc/coreutils.texi (ls invocation): Likewise.
This commit is contained in:
1 parent
0e942fdba6
commit
57c8196ef6
2 files changed
+4
-2
No files matched your search
+2
-1
@@ -7547,7 +7547,8 @@ These options affect the appearance of the overall output.
|
||||
@opindex --format
|
||||
@opindex single-column @r{output of files}
|
||||
List one file per line. This is the default for @command{ls} when standard
|
||||
output is not a terminal.
|
||||
output is not a terminal. See also the @option{-b} and @option{-q} options
|
||||
to suppress direct output of newline characters within a file name.
|
||||
|
||||
@item -C
|
||||
@itemx --format=vertical
|
||||
|
||||
@@ -4929,7 +4929,8 @@ Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.\n\
|
||||
-x list entries by lines instead of by columns\n\
|
||||
-X sort alphabetically by entry extension\n\
|
||||
-Z, --context print any security context of each file\n\
|
||||
-1 list one file per line\n\
|
||||
-1 list one file per line. Avoid '\\n' with -q or -b\
|
||||
\n\
|
||||
"), stdout);
|
||||
fputs (HELP_OPTION_DESCRIPTION, stdout);
|
||||
fputs (VERSION_OPTION_DESCRIPTION, stdout);
|
||||
|
||||
Reference in new issue
Block a user