Re: Simply deleting a fil
Re: Simply deleting a fil
- Subject: Re: Simply deleting a fil
- From: "Mark J. Reed" <email@hidden>
- Date: Fri, 17 Apr 2009 15:05:20 -0400
On Fri, Apr 17, 2009 at 2:10 PM, Roger Howard
<email@hidden> wrote:
> Are there any cases where "quoted form of", when using a POSIX path *as* a
> path in a shell command, is unnecessary?
Well, it's not strictly necssary if the POSIX paths you're dealing
with are all free of spaces and other special characters. But I
definitely recommend using it all the time.
Doug's reply betrays a potential misunderstanding, however. Only use
"quoted form of" for individual items that you want the shell to see
as a single "thing". One argument. One filename. Do not use it for
entire shell command lines, because it removes the significance of the
spaces within, so the shell will see only one "word". And chances are
you don't have a program named "ls -l My Documents" sitting in
/usr/bin. :)
--
Mark J. Reed <email@hidden>
_______________________________________________
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/archives/applescript-users
This email sent to email@hidden