On 10/19/07, Ted Unangst <[EMAIL PROTECTED]> wrote:
> On 10/19/07, Aaron W. Hsu <[EMAIL PROTECTED]> wrote:
> > > From: "Tom Van Looy" <[EMAIL PROTECTED]>
> > > Date: Fri, 19 Oct 2007 20:21:56 +0000
> > > Subject: Re: cp(1) bug ?
> > >
> > > it shall do nothing more with source_file and shall go on to any
> > > remaining files.
> >
> > Doesn't this mean that cp should not do anything when, for example, the
> > following command is run?
> >
> >    $ cp -R foo foo/
>
> no, because that section is talking about files, not directories.

A directory is a kind of file:

"file
"An object that can be written to, or read from, or both. A file has
certain attributes, including access permissions and type. File types
include regular file, character special file, block special file, FIFO
special file and directory. Other types of files may be supported by
the implementation."

-g

Reply via email to