Re: 2 files, same name, same dir

2016-10-22 Thread Kamil CholewiƄski
On Sat, 22 Oct 2016, Nick Holland wrote: > (and it wouldn't surprise me if Linux "saves" you from this error, and > it would just make me hate it all the more) No need to kick the poor penguin... > $ uname > Linux > $ mkdir /tmp/test > $ cd $_ > $ touch "pi.c" > $

Re: 2 files, same name, same dir

2016-10-22 Thread Alan Corey
I can probably blame it on the Joe editor, which leaves trailing spaces on lines in files too. I wrote a program once to strip them off, probably doesn't bother anybody else. When you save a file it prompts with a (previous) filename with the cursor at the end, bumping the spacebar then would do

Re: 2 files, same name, same dir

2016-10-22 Thread Nick Holland
On 10/22/16 11:26, Alan Corey wrote: > Bingo, a trailing space. I would have thought that would get trimmed > off somehow. I don't normally put spaces in filenames, I must have > fat-fingered something. But I see no reason to keep trailing spaces. um. Unix. File names can have almost any

Re: 2 files, same name, same dir

2016-10-22 Thread Alan Corey
Bingo, a trailing space. I would have thought that would get trimmed off somehow. I don't normally put spaces in filenames, I must have fat-fingered something. But I see no reason to keep trailing spaces. -rw-r--r-- 1 alan wheel25549 Oct 22 10:55 pi.c\$ -rw-r--r-- 1 root wheel25152

Re: 2 files, same name, same dir

2016-10-22 Thread Otto Moerbeek
On Sat, Oct 22, 2016 at 11:08:47AM -0400, Alan Corey wrote: > This is in 5.7 but I don't understand how it could happen (and I never > noticed it before). Two files in the same directory with the same > name, different owners. Last night I was noticing that my edits to my > program sometimes

Re: 2 files, same name, same dir

2016-10-22 Thread Jeremie Courreges-Anglas
Alan Corey writes: > This is in 5.7 Boo. > but I don't understand how it could happen (and I never > noticed it before). Two files in the same directory with the same > name, different owners. Last night I was noticing that my edits to my > program sometimes weren't