Re: "~" vs. "POSIX file"
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