From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <20db49d122a1888a341e3b830103d488@plan9.escet.urjc.es> To: 9fans@cse.psu.edu Subject: Re: [9fans] blanks in file names From: Fco.J.Ballesteros MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Thu, 4 Jul 2002 10:31:54 +0200 Topicbox-Message-UUID: c16b6a86-eaca-11e9-9e20-41e7f4b1d025 > it would be good to have some simple but consistent conventions for quoting data, > not particularly file names. it's true that it would probably affect many commands > (sort, sed, awk etc) but i think it might be worthwhile. I'd like the file names to be always the same. What I don't like about %q is that some times you get /a/b and other times you get '/a/b c'. This is a serious problem IMHO, since the "'" would make open fail. I'd like read(filename) open(filename) and read(filename) open(dirname + "/" + filename) to keep on working, which is no longer the case after %q. (Didn't check naming in the kernel recently, but I think these calls would fail). Perhaps all this discussion is a symptom that a different convention to name files is needed. For example, if file names were always quoted (need they to be or not), all programs could rely on a simple set of rules to handle file names. Is there agreement on this? Or is something else I'm also missing?