[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grep --directories option
From: |
Marcus Brinkmann |
Subject: |
Re: Grep --directories option |
Date: |
Sat, 31 May 2003 21:04:26 +0200 |
User-agent: |
Mutt/1.5.4i |
On Sat, May 31, 2003 at 02:06:50AM +0200, Patrick Strasser wrote:
> If I understand diretory semantics in the Hurd right, the directory is meant
> as directory only with a trailing slash, and as file if only called with
> the name without slash.
Not really, although you can force glibc to lookup only directories by appending
a slash, and a slash at the end of a filename certainly means that you want
a directory.
The best way to understand it is to think about objects and interfaces.
There is a file interface, and there is a directory interface. Any object
implementing the file interface is called a "file". Any object that
implements the directory interface is called a "directory".
Some objects might implement the file interface, but also the directory
interface. These objects are called "directories" or "files", depending on
your context.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org marcus@gnu.org
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/
- Re: Grep --directories option, (continued)
Re: Grep --directories option, Stepan Kasal, 2003/05/30
Re: Grep --directories option, Paul Eggert, 2003/05/30
Re: Grep --directories option, Jeff Bailey, 2003/05/30
Re: Grep --directories option, Patrick Strasser, 2003/05/30
Re: Grep --directories option,
Marcus Brinkmann <=
Re: Grep --directories option, Paul Eggert, 2003/05/30
Re: Grep --directories option, Alfred M. Szmidt, 2003/05/31
Re: Grep --directories option, Marcus Brinkmann, 2003/05/31
Re: Grep --directories option, James Morrison, 2003/05/30
Re: Grep --directories option, Paul Jarc, 2003/05/30
Re: Grep --directories option, Stepan Kasal, 2003/05/30