• 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: About the System Information command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About the System Information command


  • Subject: Re: About the System Information command
  • From: Michael Gmail <email@hidden>
  • Date: Fri, 27 May 2005 22:31:27 -0500

On May 27, 2005, at 12:38 PM, Gary (Lists) wrote:

'hostname' returns the lower-cased version of what I entered as the Computer
Name.



FWIW, I get the computer name back in title case, just as it was entered.


That's just what I said. (Read the last line of the quote you clipped.)


'computer name' comes back as it was entered, case intact.
'hostname' is a lowercase version of that.

This applied to, IIRC, the use of the shell script to retrieve the
'hostname', when the OP wanted to get at the 'Comptuer Name'.

To be specific, on my system do shell script "hostname -s" returns "Budapest" with a capital 'B'. And do shell script "hostname" returns "Budapest.local", also with a capital 'B'--not the lower-case version.


Michael


-- <http:/globalocal.blogspot.com>

“If you chase two rabbits, both will escape.”

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: About the System Information command (From: "Gary (Lists)" <email@hidden>)

  • Prev by Date: Fwd: a small problem
  • Next by Date: Re: FileMaker/Address Book Synchronization...
  • Previous by thread: Re: About the System Information command
  • Next by thread: RE: About the System Information command
  • Index(es):
    • Date
    • Thread