From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] quote file name Date: Fri, 28 Jul 2006 12:37:21 -0700 From: geoff@collyer.net In-Reply-To: <44CA0FE7.5020707@asgaard.homelinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 92d42c1a-ead1-11e9-9d60-3106f5b1d025 > Surly the only space that needs concern is the "ascii"/U+0020 space, > as that's used as a separator, not all the other unicode "space" > characters. ? rc also treats tab and newline specially, so ascii space is not the only whitespace character that needs quoting. ; grep -n '\\t' * lex.c:11: return !strchr("\n \t#;&|^$=`'{}()<>", c) && c!=EOF; lex.c:118: if(c==' ' || c=='\t') simple.c:246: while(*s==' ' || *s=='\t' || *s=='\n') s++;