On Sat, Oct 20, 2007 at 09:59:26AM +0000, Tom Van Looy wrote:
| on unix everything is a file?

Almost everything.

However, within 'files' you can make a distinction between directories
and regular files (and other types). When making this distinction,
people often tend to skip the 'regular' part, as it is apparant from
the discussion what you're talking about (files as "the things
contained in the filesystem (possibly directories or other 'things')"
or files as "the things that are shown with a - as the first character
of the line when using ls -l").

These are just wordgames. The section Ted was referring to was
"talking about files, not directories" - the disctinction is implied
by using the "not directories" addition : we're talking regular files
here.

Cheers,

Paul 'WEiRD' de Weerd

|
| >----- Oorspronkelijk bericht -----
| >Van: Ted Unangst [mailto:[EMAIL PROTECTED]
| >Verzonden: zaterdag, oktober 20, 2007 01:18 AM
| >Aan: 'Aaron W. Hsu'
| >CC: [EMAIL PROTECTED], [email protected]
| >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.
|

--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/

[demime 1.01d removed an attachment of type application/pgp-signature]

Reply via email to