• 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: Computer Serial Number
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Computer Serial Number


  • Subject: Re: Computer Serial Number
  • From: Philip Aker <email@hidden>
  • Date: Sun, 27 Jul 2008 00:59:31 -0700

On 08-07-27, at 00:55, Axel Luttgens wrote:

Unlike the other two:

do shell script "system_profiler SPHardwareDataType | sed -n 's/.*Serial Number://p'"

reports with a space in the result.


There must have been a slight typo in Randal's post (or perhaps an artefact of the mail transport?):

do shell script "system_profiler SPHardwareDataType | sed -n 's/.*Serial Number: //p'"


Yes, I corrected the missing &apos; and your further amendment makes it work correctly.


Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
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: 
 >Re: Computer Serial Number (From: John Baltutis <email@hidden>)
 >Re: Computer Serial Number (From: Philip Aker <email@hidden>)
 >Re: Computer Serial Number (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Computer Serial Number
  • Next by Date: Re: reading a property list item
  • Previous by thread: Re: Computer Serial Number
  • Next by thread: iCal moving events to calendar not working
  • Index(es):
    • Date
    • Thread