From owner-freebsd-questions Mon Jan 22 14: 1:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id 86B3437B6A9 for ; Mon, 22 Jan 2001 14:01:18 -0800 (PST) Received: from [212.238.77.116] (helo=gateway.raggedclown.net) by post.mail.nl.demon.net with smtp (Exim 3.14 #4) id 14Kp1U-000Jrw-00; Mon, 22 Jan 2001 22:01:12 +0000 Received: from buffy.raggedclown.net (btvs.demon.nl [192.168.1.2]) by gateway.raggedclown.net (Postfix) with ESMTP id 4730E5DB0; Mon, 22 Jan 2001 22:59:27 +0100 (CET) Received: by buffy.raggedclown.net (Postfix on SuSE Linux 7.0 (i386), from userid 500) id 5484012C4A; Mon, 22 Jan 2001 22:44:04 +0100 (CET) Date: Mon, 22 Jan 2001 22:44:04 +0100 From: Cliff Sarginson To: Bill Restemeyer Cc: questions@FreeBSD.ORG Subject: Re: question about file/directory names Message-ID: <20010122224404.A1378@raggedclown.net> References: <3A6C9682.8BFEA851@bellatlantic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A6C9682.8BFEA851@bellatlantic.net>; from restemey@bellatlantic.net on Mon, Jan 22, 2001 at 03:22:26PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 "<^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