Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!vsi!friedl From: friedl@vsi.COM (Stephen J. Friedl) Newsgroups: comp.unix.wizards Subject: Re: 4.3bsd sh problems Message-ID: <919@vsi.COM> Date: 31 Oct 88 02:06:14 GMT Article-I.D.: vsi.919 References: <67700005@cdp> <14247@mimsy.UUCP> Organization: V-Systems, Inc. -- Santa Ana, CA Lines: 17 In article <14247@mimsy.UUCP>, chris@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@vsi.com {backbones}!vsi.com!friedl attmail!vsi!friedl ----Nancy Reagan on 120MB SCSI cartridge tape: "Just say *now*"----