• 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: Why root?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why root?


  • Subject: Re: Why root?
  • From: John Delacour <email@hidden>
  • Date: Fri, 2 Aug 2002 21:01:16 +0100

At 11:34 am -0400 2/8/02, Deivy Marck Petrescu wrote:

if you type
do shell script "set" and check your result, you will see all the settings for
the do script command. In particular that pwd is "/"

Well, to be accurate PWD, whatever that is, is /, but I think it ought not to be.


In the terminal:

[localhost:~] jd% PWD
PWD: Command not found.
[localhost:~] jd% pwd
/Users/jd
[localhost:~] jd%

Besides, if Applescript thinks my home directory is / , why does cd take me to users/jd ? And why does the terminal not have pwd set and Applescrips not have cwd set, and why does do shell script "set" give me everything in upper case?




JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Move a sound file (From: Rob Jorgensen <email@hidden>)
 >Why root? (From: John Delacour <email@hidden>)
 >Re: Why root? (From: Deivy Marck Petrescu <email@hidden>)

  • Prev by Date: Re: Why root?
  • Next by Date: Re: Move a sound file
  • Previous by thread: Re: Why root?
  • Next by thread: Re: Why root?
  • Index(es):
    • Date
    • Thread