4.3bsd sh problems

Stephen J. Friedl friedl at vsi.COM
Mon Oct 31 12:06:14 AEST 1988


In article <14247 at mimsy.UUCP>, chris at mimsy.UUCP (Chris Torek) writes:
> 
> `test' is not built in to the 4BSD /bin/sh.  /bin/test uses open() to
> test files; open for write fails on directories.  SV sh apparently
> uses access().  To test directories you have to write your own test
> program.

System V Release 3 fixed this problem; test(1) -- a builtin -- no
longer uses access(2).  Now if they would only make the $PATH search
mechanism work the same way :-(.

     Steve

-- 
Steve Friedl    V-Systems, Inc.  +1 714 545 6442    3B2-kind-of-guy
friedl at vsi.com     {backbones}!vsi.com!friedl    attmail!vsi!friedl
----Nancy Reagan on 120MB SCSI cartridge tape: "Just say *now*"----



More information about the Comp.unix.wizards mailing list