Two files, same directory, same name...

Daiv Stoner aindiana at osiris.cso.uiuc.edu
Sat Jun 16 03:40:29 AEST 1990


ricks at ncrcae.Columbia.NCR.COM (Rick Silverstein) writes:

>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.

I believe "l -b" will also show you the strange char.

--
Daiv Stoner                  +===============================================+
aindiana at osiris.cso.uiuc.edu | I work for the Gov't.  If I want your opinion |
oinxds at ria-emh1.army.mil     | I'll ask you to fill out the necessary forms. |
Disclaimer:  The Dept. of    +===============================================+
Defense doesn't even know what it's doing, let alone what I'm doing.



More information about the Comp.unix.questions mailing list