[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DEP 5 and directory/file names with spaces



Manoj Srivastava wrote:
On Tue, Jun 09 2009, Lars Wirzenius wrote:


Some highlights:

* two carriage return chars (\r)
* one escape char
* 5431 spaces
* 1 double quotes (")
* 98 single quotes (')
* 64 asterisks (*)
* 524 commas
* 3 backslashes
* 51601 percent chars (%)

        No newlines, eh? Seems like the one glob per line wins.

Also no tabs, so we can keep horizontal and vertical split of pathnames.

But what glob rule?
One simple:
- * as shell glob
- \\ (3 cases)
- \* (64 cases)

but how to specify \r (2 cases), \e (one case) and the non-7 bit ASCII (793 cases)?
(surely some sequences are non UTF-8 compatible, e.g. 3 0xFE)

ciao
	cate


Reply to: