Re: Find and replace space by the Terminal equivalent
Re: Find and replace space by the Terminal equivalent
- Subject: Re: Find and replace space by the Terminal equivalent
- From: Christopher Nebel <email@hidden>
- Date: Mon, 3 Oct 2005 09:17:03 -0700
On Oct 2, 2005, at 2:47 AM, Jay Louvion wrote:
How would you do a find and replace in a string where you want to
replace spaces (“ “) by the command line equivalent (regarding file
system, at least : “\ ”) for some obvious reason, it doesn’t
compile, but what’s the workaround ?
The correct solution is usually not to add backslashes, but to quote
the string, and the "quoted form" property will do that for you. See
<http://developer.apple.com/technotes/tn2002/tn2065.html#TNTAG3>.
--Chris Nebel
AppleScript and Automator Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden