Escaping spaces in arguments to shell script

John Abreau jabr at blu.org
Sat Apr 29 00:10:46 EDT 2006


Bill Ricker wrote:
>  Unix open(2)
> used to prevent you from creating files with ' ' or '/', but I fear it
> only blocks '/' now ?  

When was this? Back when I first touched Unix, in 1983, the only bytes 
open(2) did not allow in filenames were '/' and '\000'. I've never seen 
a Unix where open(2) disallowed anything else.

-- 
John Abreau / Executive Director, Boston Linux & Unix 
IM: jabr at jabber.blu.org / abreauj at aim / abreauj at yahoo / 28611923 at icq
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99





More information about the Discuss mailing list