• 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: "~" vs. "POSIX file"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "~" vs. "POSIX file"


  • Subject: Re: "~" vs. "POSIX file"
  • From: Philip Aker <email@hidden>
  • Date: Tue, 24 Oct 2006 22:18:14 -0700

On 2006-10-24, at 21:48:34, Mark J. Reed wrote:

The difference I cited (from perl/ruby/etc) is that the file(n) command automatically applies tilde-substitution to its argument:

#!/usr/bin/tclsh
file open "~/foo.txt"
# works if "foo.txt" exists in the home directory

This example doesn't work at all. It's illegal.
What I said was Tcl uses tilde expansion where appropriate. Like on file related commands such as 'open'.


Philip Aker
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/mailman//archives/applescript-users

This email sent to email@hidden
References: 
 >How can I open attachment in Mail ? (From: Victor Frenklakh <email@hidden>)
 >Re: How can I open attachment in Mail ? (From: kai <email@hidden>)
 >Re: How can I open attachment in Mail ? (From: Philip Aker <email@hidden>)
 >Re: How can I open attachment in Mail ? (From: kai <email@hidden>)
 >Re: How can I open attachment in Mail ? (From: Philip Aker <email@hidden>)
 >"~" vs. "POSIX file" (From: Christopher Nebel <email@hidden>)
 >Re: "~" vs. "POSIX file" (From: "Mark J. Reed" <email@hidden>)
 >Re: "~" vs. "POSIX file" (From: "Mark J. Reed" <email@hidden>)
 >Re: "~" vs. "POSIX file" (From: Philip Aker <email@hidden>)
 >Re: "~" vs. "POSIX file" (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: "~" vs. "POSIX file"
  • Next by Date: Re: "~" vs. "POSIX file"
  • Previous by thread: Re: "~" vs. "POSIX file"
  • Next by thread: Re: "~" vs. "POSIX file"
  • Index(es):
    • Date
    • Thread