From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: erik quanstrom Date: Thu, 18 Jun 2009 18:59:51 -0400 To: 9fans@9fans.net In-Reply-To: <7d3530220906181554o529dbbdbm7861d3acf4f8184c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] simple question: multiple rename Topicbox-Message-UUID: 0cf024c4-ead5-11e9-9d60-3106f5b1d025 On Thu Jun 18 18:55:30 EDT 2009, slawmaster@gmail.com wrote: > On Tue, Jun 16, 2009 at 4:01 PM, erik quanstrom wrote: > > > > > I forgot, / is actually illegal. I'm almost (but not quite) certain that \0 is legal, and if I understand my emacs correctly you may be able to type it as ctrl-space. It displays as ^@ in emacs. > > > > > > > what system call do you use to create a file with \0 in the name? > > i'm not really keeping up, but last i checked creat doesn't take > > a filename length, and therefore the null will terminate the string. > > > > - erik > > > > According to intro(5), \0 is illegal in a 9P text string. "The NUL > character is illegal in all text strings in 9P, and is therefore > excluded from file names, user names, and so on." I'm assuming from > this that Thou Shall Not Use NUL In Filenames. note the spelling of creat. intro(5) does not apply to unix. - erik