Linux version 2.4.20-6 ([EMAIL PROTECTED]) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Feb 27 10:06:59 EST 2003
I find that files which have names starting with the characters hp are invisible to /bin/ls ( also to /usr/bin/find but not to /usr/bin/file ).
The following sequence should illustrate:
[EMAIL PROTECTED] craig]$ mkdir junk [EMAIL PROTECTED] craig]$ cd junk [EMAIL PROTECTED] junk]$ >somefile [EMAIL PROTECTED] junk]$ mkdir somedir [EMAIL PROTECTED] junk]$ >hp [EMAIL PROTECTED] junk]$ >hpsomefile [EMAIL PROTECTED] junk]$ ls somedir somefile [EMAIL PROTECTED] junk]$ find . . ./somefile ./somedir [EMAIL PROTECTED] junk]$ file * hp: empty hpsomefile: empty somedir: directory somefile: empty [EMAIL PROTECTED] junk]$ rm hp [EMAIL PROTECTED] junk]$ ls somedir somefile [EMAIL PROTECTED] junk]$ file * hpsomefile: empty somedir: directory somefile: empty [EMAIL PROTECTED] junk]$ mkdir hp [EMAIL PROTECTED] junk]$ mkdir hpsomedir [EMAIL PROTECTED] junk]$ ls somedir somefile [EMAIL PROTECTED] junk]$ find . . ./somefile ./somedir [EMAIL PROTECTED] junk]$ file * hp: directory hpsomedir: directory hpsomefile: empty somedir: directory somefile: empty [EMAIL PROTECTED] junk]$ which -a find /usr/bin/find [EMAIL PROTECTED] junk]$ which -a file /usr/bin/file [EMAIL PROTECTED] junk]$ which -a ls alias ls='ls --color=tty' /bin/ls [EMAIL PROTECTED] junk]$ which ls alias ls='ls --color=tty' /bin/ls [EMAIL PROTECTED] junk]$ ls --version ls (GNU fileutils) 4.0x Written by Richard Stallman and David MacKenzie.
Copyright (C) 2000 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [EMAIL PROTECTED] junk]$ find --version GNU find version 4.1 [EMAIL PROTECTED] junk]$ file --version file-3.39 magic file from /usr/share/magic
Let me know if I can be of further help with diagnosis of this problem.
Best Regards, Craig Bourne
_______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils