Re: Reading and writing to modem

From: Sven Mascheck (cus.r.mascheck_at_spamgourmet.com)
Date: 05/30/04


Date: Sun, 30 May 2004 13:02:44 +0200 (CEST)

bsh@iname.com wrote:

> The "<>" redirection to mean open-for-read-and-write is supported
> as an undocumented feature for both bourne shell and kornshell.

However, it's buggy in the traditional bourne shell, although
it was existent since V7; the open call lacks "O_RDWR". As an
exception it's fixed (and also documented then) in SunOS 5.6 ff
(mainly for usage in /etc/inittab).



Relevant Pages

  • Re: Reading and writing to modem
    ... > as an undocumented feature for both bourne shell and kornshell. ... However, it's buggy in the traditional bourne shell, although ... it was existent since V7; ...
    (comp.unix.shell)
  • Re: New FAQ item.
    ... Stephane CHAZELAS wrote: ... That is an unfortunate side effect, but the options are limited for ... a traditional Bourne shell. ... How do you get the Bourne shell builtin "read" to read from fd 9 ...
    (comp.unix.shell)