Re: Scripting Additions: Embracing the Horror of Unix
Re: Scripting Additions: Embracing the Horror of Unix
- Subject: Re: Scripting Additions: Embracing the Horror of Unix
- From: garbanzito <email@hidden>
- Date: Thu, 31 Jan 2002 14:02:32 -0700
at 2002 01 30, 16:58 -0500, they whom i call J.B. Stewart wrote:
While I was writing this I discovered that the "POSIX path" property (of
POSIX File) from Standard Additions (AS 1.8.2b1) didn't handle spaces in
file names so there is a handler at the end of the script to "escape"
spaces in the path name.
"posix path" doesn't escape anything. if you only escape
spaces, you won't have covered all the possibilities
(quotes, angle brackets, etc.) i thought someone had built a
handler to escape everything needed, but i can't find it
offhand. an alternative is to quote every filename and path,
but you'd still have to escape quotes in the filename.
--
steve harley email@hidden