Two files, same directory, same name...

Jean-Pierre Radley jpr at dasys1.uucp
Sat Jun 16 00:27:07 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.
>
>total 206
>-rw-r--r--  1 tbetz           0 Dec  3  1988 .comsignature
>drwxr-xr-x 11 tbetz         176 Oct 18  1988 alt/
>-rw-r--r--  1 tbetz       12756 Jun 14 06:49 applied.gw   <-----
>-rw-r--r--  1 tbetz       64775 Jun 14 06:48 applied.gw   <-----
>drwxr-xr-x  5 tbetz          80 Sep 24  1988 ca/
>
>You will note that there are two files with identical names.
>
>I can view them using 'more' and they are indeed two different
>files.  I haven't done anything else with them yet (I'll 'cat'
>them to another file if I can) but I can't figure out how this
>can happen.

Tom, have you considered the possibility that one or both of those
filenames consider a non-printing character?

Try 'hd', 'od', or 'vis' on $HOME/News, and then tell us if they're still
twins or not.
-- 
Jean-Pierre Radley						   jpr at jpradley
New York, NY					      72160.1341 at compuserve.com



More information about the Comp.unix.questions mailing list