bug-gnu-utils
[Top][All Lists]
Advanced

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

gettextize syntax problem on Solaris 8 /bin/sh; + request


From: Paul Eggert
Subject: gettextize syntax problem on Solaris 8 /bin/sh; + request
Date: Sat, 3 Aug 2002 06:19:54 -0700 (PDT)

Solaris 8 /bin/sh rejects "read < /dev/tty" as a shell syntax error.
Here's a patch to gettext 0.11.4 (already patched by your previous message).

Also, can you please add an option to gettextize to allow me to bypass
this attempt to read from /dev/tty?  It makes it hard to automate
bootstrapping Bison, where I'd rather just go ahead without reading
from /dev/tty.  Thanks.

2002-08-83  Paul Eggert  <address@hidden>

        * misc/gettextize.in: Use "read dummy < /dev/tty" to work around
        a compatibility glitch with Solaris 8 /bin/sh.

--- gettextize.in       2002/08/03 12:57:14     0.11.4.1
+++ gettextize.in       2002/08/03 13:16:03     0.11.4.2
@@ -968,7 +968,7 @@ if $doit; then
   echo "Press Return to acknowledge the previous $count."
   # Read from /dev/tty, not stdin, so that gettextize cannot be abused by
   # non-interactive tools.
-  read < /dev/tty
+  read dummy < /dev/tty
 fi
 
 exit 0



reply via email to

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