summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-01-10 18:08:12 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-01-10 18:08:12 +0000
commit23c6e3110efc3487a2212c75dbac9192f6648016 (patch)
treef590e3ed6f2a7d2fae2657fab79c1fa1813f87ff /doc/coreutils.texi
parent183dd5f707f10e49533cc950a50e7bc88fa7a0ff (diff)
downloadcoreutils-23c6e3110efc3487a2212c75dbac9192f6648016.tar.xz
Document changes responding to POSIX interpretations about pathchk -p
dated 2005-01-06.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi32
1 files changed, 25 insertions, 7 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 0effaa09f..c8fc98086 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -10240,21 +10240,39 @@ its file system's maximum.
A nonexistent @var{name} is not an error, so long a file with that
name could be created under the above conditions.
-The program accepts the following option. Also see @ref{Common options}.
+The program accepts the following options. Also see @ref{Common options}.
Options must precede operands.
@table @samp
@item -p
-@itemx --portability
@opindex -p
-@opindex --portability
-Do not perform checks based on the underlying file system. Instead,
-check the length of each file name and its components against the
-@acronym{POSIX} minimum limits for portability. Also check that the file
-name contains only characters that are in the portable file name
+Instead of performing checks based on the underlying file system,
+print a message if any of these conditions is true:
+
+@enumerate
+@item
+A file name is empty.
+
+@item
+The length of a file name or one of its components exceeds the
+@acronym{POSIX} minimum limits for portability.
+
+@item
+A file name contains a character outside the portable file name
character set, namely, the ASCII letters and digits, @samp{-},
@samp{.}, @samp{/}, and @samp{_}.
+@end enumerate
+
+@item -P
+@opindex -P
+Print a message if a file name is empty, or if it contains a component
+that begins with @samp{-}.
+
+@item --portability
+@opindex --portability
+Print a message if a file name is not portable to all @acronym{POSIX}
+hosts. This option is equivalent to @samp{-p -P}.
@end table