Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 22:44:04 +0100
From:      Cliff Sarginson <cliff@raggedclown.net>
To:        Bill Restemeyer <restemey@bellatlantic.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: question about file/directory names
Message-ID:  <20010122224404.A1378@raggedclown.net>
In-Reply-To: <3A6C9682.8BFEA851@bellatlantic.net>; from restemey@bellatlantic.net on Mon, Jan 22, 2001 at 03:22:26PM -0500
References:  <3A6C9682.8BFEA851@bellatlantic.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 22, 2001 at 03:22:26PM -0500, Bill Restemeyer wrote:
> I am developing a system in Perl that runs on FreeBSD which lets users
> create files and directories.  I need to know which characters are
> acceptable in filenames and directory names and which are not.
> 
The only not characters *not* acceptable are null and forward slash.
As to whether it is a good idea to allow a file to be created
called "<BS><BS><^L><^S>tee@#$!&&*()" is another question !

Filenames with shell metacharacters in them should be avoided
(such as *), and files starting with a - (minus sign) are a pain.
etc etc...

Remember files that start with a . (period) are so-called hidden
files and don;t show on a normal ls listing.

And of course upper case and lower are different.

Good Luck

Cliff 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010122224404.A1378>