Re: How to convert "space" to "\space" for shell script
Re: How to convert "space" to "\space" for shell script
- Subject: Re: How to convert "space" to "\space" for shell script
- From: Bill Hernandez <email@hidden>
- Date: Sun, 4 Feb 2007 00:48:19 -0600
On Feb 3, 2007, at 8:17 PM, Patrik B. wrote:
I am working on a shell script and need to convert a posix path
with spaces
properly from " " to "\ ". Is there an available handler or command
that
already converts this on the fly?
If not what is the simplest method to convert for example
"This is my example.pdf" to "This\ is\ my\ example.pdf"
Patrik,
set str to "This is my example.pdf"
set qf_str to quoted form of str
Best Regards,
Bill Hernandez
Plano, Texas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden