lkml.org 
[lkml]   [1998]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux's interpretation of trailing '/'
Date
In article <cistron.XFMail.981215121826.simon@koala.ie>,
Simon Kenyon <simon@koala.ie> wrote:
>On 15-Dec-98 Jamie Lokier wrote:
>> Well, I find the Linux behaviour rather useful.
>> `find /usr/src/linux/' lists the latest kernel source files,
>> while find /usr/src/linux' lists the name of a symbolic link.
>
>that's because open on "" is the same as open on "."

Under *BSD, yes. Under Linux, no.

% cat ""
cat: : No such file or directory
% cat .
cat: .: Is a directory

Mike.
--
Indifference will certainly be the downfall of mankind, but who cares?

-
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.048 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site