pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc/portability-book/files ls(1) on MacOS X returns 0 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/77f1ddc4c87e
branches:  trunk
changeset: 520366:77f1ddc4c87e
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Oct 20 10:14:44 2006 +0000

description:
ls(1) on MacOS X returns 0 on error.

diffstat:

 doc/portability-book/files/utilities.xml |  13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r d6179336f11a -r 77f1ddc4c87e doc/portability-book/files/utilities.xml
--- a/doc/portability-book/files/utilities.xml  Fri Oct 20 08:54:44 2006 +0000
+++ b/doc/portability-book/files/utilities.xml  Fri Oct 20 10:14:44 2006 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: utilities.xml,v 1.3 2006/10/07 08:13:21 rillig Exp $ -->
+<!-- $NetBSD: utilities.xml,v 1.4 2006/10/20 10:14:44 rillig Exp $ -->
 
 <chapter id="utilities">
 <title>Command line utilities</title>
@@ -7,6 +7,15 @@
 <ulink url="http://www.opengroup.org/onlinepubs/000095399/idx/utilities.html";>POSIX-like
 utilities</ulink> on the platforms.</para>
 
+<sect1 id="util.ls">
+<title>ls</title>
+
+<para>On MacOS&nbsp;X, <literal>ls</literal> does not return an error
+code when the file to be listed does not exist. On some other platforms,
+it does.</para>
+
+</sect1>
+
 <sect1 id="util.sh">
 <title>sh</title>
 
@@ -119,7 +128,7 @@
 <sect2 id="util.test.ext">
 <title>Non-standard extensions</title>
 
-<para>The Bourne Again Shell (Bash) allows the binary operator
+<para>The Bourne Again Shell (bash) allows the binary operator
 <literal>==</literal> to be used as an alias for <literal>=</literal>.
 This leads to problems when programs using this feature are ported to
 other platforms. By the way, not even the GNU coreutils have that



Home | Main Index | Thread Index | Old Index