Unix deficiencies/problems

Stephen J. Friedl friedl at vsi.COM
Tue May 9 11:04:44 AEST 1989


In article <2656 at mentor.cc.purdue.edu>, mjs at mentor.cc.purdue.edu (Mike Spitzer) writes:
> 	application <input >logfile 2>errs 3<db1 4<db2 5>rep1 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 at vsi.com  / {attmail, uunet, etc}!vsi!friedl

"California: the land of cute women, hot tubs, and no rust" - me



More information about the Comp.unix.questions mailing list