[Top][All Lists]

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

Tru64 sh treats read as special builtin

From: Ralf Wildenhues
Subject: Tru64 sh treats read as special builtin
Date: Sun, 16 Jan 2011 12:50:41 +0100
User-agent: Mutt/1.5.20 (2010-08-04)

First off, please consider this squashed in with my previous patch:

@@ -20184,7 +20186,7 @@ Timestamps and Make
 @end example
 Apart from timestamp resolution, there are also differences in handling
-equal timestamps.  HP-UX @command{make} updates targets if it has the
+equal timestamps.  HP-UX @command{make} updates a target if it has the
 same time stamp as one of its prerequisites, in violation of Posix rules.

Then, ok to apply the patch below as well?  sh exits upon
  read line < unreadable

  read line < nonexistent

Luckily, ksh doesn't do this, otherwise libtool would've been in


    docs: Tru64/OSF sh treats read as special builtin
    * doc/autoconf.texi (Limitations of Builtins): read may exit
    upon unreadable or non-existent file with Tru64/OSF 5.1 sh.

diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 0e9f0ea..a19c352 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -17342,7 +17342,9 @@ Limitations of Builtins
 @c -----------------
 @prindex @command{read}
 No options are portable, not even support @option{-r} (Solaris
address@hidden/bin/sh} for example).
address@hidden/bin/sh} for example).  Tru64/OSF 5.1 @command{sh} treats
address@hidden as a special built-in, so it may exit if input is
+redirected from a non-existent or unreadable file.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]