Re: Linux's interpretation of trailing '/'

Ragnar Hojland Espinosa (ragnar@redestb.es)
Tue, 15 Dec 1998 07:06:03 +0100 (CET)


On Mon, 14 Dec 1998, Jeremy Fitzhardinge wrote:

> $ touch z
> $ cat z/
> cat: z/: Not a directory
> $ cat z//
> cat: z//: Not a directory
> $ cat z/.
> cat: z/.: Not a directory
>
> All quite reasonable and logical, but Solaris behaves this way:

I don't find the error message logical, since you can't cat a
directory.

cat: z/: Not a directory
cat: /: Is a directory

-- 
____/|  Ragnar Hojland  (ragnar@lightside.ddns.org)      Fingerprint  94C4B
\ o.O|                                                   2F0D27DE025BE2302C
 =(_)=  "Thou shalt not follow the NULL pointer for      104B78C56 B72F0822
   U     chaos and madness await thee at its end."       hkp://keys.pgp.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/