Two files, same directory, same name...

Rick Silverstein ricks at ncrcae.Columbia.NCR.COM
Sat Jun 16 02:18:03 AEST 1990


In article <1990Jun15.090604.21916 at dasys1.uucp> tbetz at dasys1.UUCP (Tom Betz) writes:
>Below is an excerpt of a listing of my $HOME/News directory.
>
>-rw-r--r--  1 tbetz       12756 Jun 14 06:49 applied.gw   <-----
>-rw-r--r--  1 tbetz       64775 Jun 14 06:48 applied.gw   <-----
>
>You will note that there are two files with identical names.

You must have a non-printable control character in one of the names.

Try:
/bin/ls | cat -v

This will display the control character that ls is hiding from you.
Berkeley's ls (/usr/ucb/ls) will print a '?' for the control character.



More information about the Comp.unix.questions mailing list