on unix everything is a file?
>----- Oorspronkelijk bericht ----- >Van: Ted Unangst [mailto:[EMAIL PROTECTED] >Verzonden: zaterdag, oktober 20, 2007 01:18 AM >Aan: 'Aaron W. Hsu' >CC: [EMAIL PROTECTED], misc@openbsd.org >Onderwerp: Re: cp(1) bug ? > >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.