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 it, I've hit other characters by accident
and had those end up in filenames.  I've been using Joe for ~20 years.

But a trailing space on a filename, after the extension, is pointless
to keep.  Probably featureitis to build in looking for them though.

On 10/22/16, Alan Corey <alan01...@gmail.com> 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.
>
> -rw-r--r--  1 alan  wheel    25549 Oct 22 10:55 pi.c\$
> -rw-r--r--  1 root  wheel    25152 Oct 22 00:07 pi.c \$

Reply via email to