Re: Getting processor description from sysctl
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=JNK4Ns3PE91RGSthrMPhdSJXouV4pmj/p5siaT9q86s=; b=HLtWIDWSQ1wSWqYXKgkVWV/nFrwruwTsLPe6eoWLRgOmtJzRL3AZ29r3wnd3h270eMcaa71OXJiv3/f+Vhjt3uJM0S0OXpGlrgq3anIWgIzjJZFpvlOdwV2eDuIJYVQ/RTqI0z3NcaYOV8jzbK/YIE+qWoo8qFObJpbExykMjl0= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YoixZ9ThNmNIpTAKrcNu1IzHbt/N9u+OWNFwYq1X1HvZRJmERfPZeVdCxN1vohs2T1Xqxuew/Esvip9zscIccoHgFm9Ey+Pio0g9uPHQCRmqagEnmif5YqNTf8/LtRJURw32Aophtg8Oll/uhpRnnj3+gHJENnWZeRLbBHDGMS0= On Thu, May 15, 2008 at 9:39 PM, Terry Lambert <tlambert@apple.com> wrote: [snip about parsing output of system_profiler]
It's just not that hard to do this sort of thing without resorting to interfaces that might break each time there's a software update. Now the original poster has two examples.
Is the format of output from commandline utilities guaranteed across software updates? I'm sure jkh has made statements to the effect that they are not :o) -- Finlay _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Finlay Dobbie