9fans archive / 1998 / 04 / 21 / prev next
From: Russ Cox rsc@pla...
Subject: [9fans] allowing space (ASCII 0x20) in file names
Date: Wed, 8 Apr 1998 13:08:14 -0400
intro(5) says "Plan 9 names may contain any printable character
(that is, any character outside hexadecimal 00-1F and 80-9F) except
slash and blank", so yes it looks like the idea is to disallow
unprintables.
i don't know the official reasons that space isn't allowed,
but in general file names with spaces (which you have to deal
with in Unix and Windows) are a pain for oodles of reasons. the most
noticeable one is that it messes up scripts and the like:
ls -l | awk '{print $10}' is no longer guaranteed to give
you filenames. that's just the tip of the iceberg.
"B <echo *.c" in sam would fail. there is much more.
not having spaces in the filenames in plan9 is a wonderful
blessing.
just my 2ยข, but i'd rather have ms-dos filenames than have spaces.
come to think of it, i think i'd rather have ms-dos filenames than
have imap. use import and edmail. or pop3 | sendmail.