• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Simply deleting a fil
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Simply deleting a fil
      • From: Roger Howard <email@hidden>
References: 
 >Re: Photomerge (From: Stan Cleveland <email@hidden>)
 >Simply deleting a fil (From: Satyam Satyanarayana <email@hidden>)
 >Re: Simply deleting a fil (From: Yvan KOENIG <email@hidden>)
 >Re: Simply deleting a fil (From: Tim Mansour <email@hidden>)
 >Re: Simply deleting a fil (From: "Sutapalli Satyanarayana" <email@hidden>)
 >Re: Simply deleting a fil (From: Tim Mansour <email@hidden>)
 >Re: Simply deleting a fil (From: Roger Howard <email@hidden>)

  • Prev by Date: Re: Simply deleting a fil
  • Next by Date: Re: applescript & TextEdit : selecting minus sign (-) for type conversion?
  • Previous by thread: Re: Simply deleting a fil
  • Next by thread: Re: Simply deleting a fil
  • Index(es):
    • Date
    • Thread