Polytropon freebsd at edvax.de
Mon May 4 18:41:29 UTC 2009

On Mon, 4 May 2009 11:08:04 +0200, Ruben de Groot <mail25 at bzerk.org> wrote:
> Probably because the # is interpreted as comment. I can reproduce this
> in a bourne shell; not in (t)csh.

Ah, thank you. According to the prompt, it didn't look
like csh in the first place, but not like plain sh, too.
Customized bash prompts usually include brackets 'n stuff.

Because I'm using csh mostly, I didn't see the problem
that "cd #something" == "cd" (which of course leads
to $HOME).

An attempt to "rm #12345" in sh / bash should lead to
an error message (for incomplete rm command).

It's safe to use the Midnight Commander to cd into and
rm #something files and directories. :-)

>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list