Subject: Re: bugs and/or misfeatures in namei changes
To: John F. Woods <>
From: Scott Reynolds <scottr@Plexus.COM>
List: current-users
Date: 05/10/1997 11:29:22
On Sat, 10 May 1997, John F. Woods wrote:

> For an archive that I maintain, I have been in the habit of testing
> for a directory that might or might not exist with
> 	cp file /archive/path/directory/
> [...]

1) Why not use `test -d'?

2) I'm pretty certain this is POSIX-compliant behavior, but I don't have a
copy of the standard, so you'll have to take this with a grain of salt.