[Tutor] valid filenames

Rick Pasotto rick@niof.net
Sun, 1 Apr 2001 12:37:24 -0400


On Sun, Apr 01, 2001 at 09:24:06AM -0700, Sheila King wrote:
> On Sun, 1 Apr 2001 17:02:57 +0200, lumbricus@gmx.net  wrote about Re:
> [Tutor]
> valid filenames:
> 
> :U can avoid by not using
> :names like -anything
> :           ^
> 
> The hyphen is not that uncommon in file names on Unix. For example,
> Qmail expects hyphens in the .qmail filenames that can be used for
> filtering email on the RCPT field of the email envelope, and from
> there invoking scripts or forwarding to other addresses or whatever.

The only problem with a hyphen is when it's the first character of the
file name. Doing that causes many commands to confuse it with an option
and special steps have to be taken to get around that.

-- 
"A man who has nothing he is willing to fight for, nothing which he
cares more about than he does his own personal safety, is a miserable
creature, who has no chance of being free unless made and kept so by
the exertions of men better than himself. As long as justice and
injustice have not terminated their ever- renewing fight...human
beings must be willing...to do battle for the one against the other."
		-- John Stuart Mill
		   Rick Pasotto email: rickp@telocity.com