lkml.org 
[lkml]   [1998]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux's interpretation of trailing '/'

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/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.060 / U:22.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site