• 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: Result of Finder's POSIX path of (home as text) ends in slash?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Result of Finder's POSIX path of (home as text) ends in slash?


  • Subject: Re: Result of Finder's POSIX path of (home as text) ends in slash?
  • From: Doug McNutt <email@hidden>
  • Date: Mon, 24 Nov 2008 15:56:05 -0700

At 11:47 -0800 11/24/08, Jerry Krinock wrote:
On 2008 Nov, 24, at 10:48, Mark J. Reed wrote:

 Is it possible that the customer's home directory is a symbolic link
 or alias?  Those confuse the heck out of the Finder OMM.

Thanks, Mark. Probably you're correct. He just told me that he's a systems engineer in an IT department and may have different "paths, add-ons, extensions, environment, etc."

He may also be a POSIX savvy guy too.

If you "echo $HOME" with a do shell script you will NOT get a trailing slash. As far as I know nobody in the UNIX world leaves the trailing slash except for things like scp commands pointing to a destination directory which need to told if the last name is a directory or a file to be replaced.

Classic Apple needed a trailing colon for a lot of things in MPW. Variables representing directories were generally prepared including the colon.
--


--> A fair tax is one that you pay but I don't <--
_______________________________________________
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
References: 
 >Result of Finder's POSIX path of (home as text) ends in slash? (From: Jerry Krinock <email@hidden>)
 >Re: Result of Finder's POSIX path of (home as text) ends in slash? (From: "Mark J. Reed" <email@hidden>)
 >Re: Result of Finder's POSIX path of (home as text) ends in slash? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Result of Finder's POSIX path of (home as text) ends in slash?
  • Next by Date: Re: Result of Finder's POSIX path of (home as text) ends in slash?
  • Previous by thread: Re: Result of Finder's POSIX path of (home as text) ends in slash?
  • Next by thread: Re: Result of Finder's POSIX path of (home as text) ends in slash?
  • Index(es):
    • Date
    • Thread