Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!vsi!friedl
From: friedl@vsi.COM (Stephen J. Friedl)
Newsgroups: comp.unix.questions
Subject: Re: Unix deficiencies/problems
Message-ID: <1116@vsi.COM>
Date: 9 May 89 01:04:44 GMT
References: <810038@hpsemc.HP.COM> <810046@hpsemc.HP.COM> <159@dg.dg.com> <2656@mentor.cc.purdue.edu>
Organization: V-Systems, Inc. -- Santa Ana, CA
Lines: 22
In article <2656@mentor.cc.purdue.edu>, mjs@mentor.cc.purdue.edu (Mike Spitzer) writes:
> application logfile 2>errs 3rep1 6>rep2
> [...]
>
> There is a limitation, though. In this case you might want to have
> db1 and db2 open for both reading and writing, but there is no way to
> make the shell do that do you.
The Bourne shell (but not ksh) allows
application <> dbfile
where "dbfile" is open for read and write. One probably shouldn't
rely on this, but it's fun to think about...
Steve
--
Stephen J. Friedl / V-Systems, Inc. / Santa Ana, CA / +1 714 545 6442
3B2-kind-of-guy / friedl@vsi.com / {attmail, uunet, etc}!vsi!friedl
"California: the land of cute women, hot tubs, and no rust" - me