|
From: | Richard Frith-Macdonald |
Subject: | Re: plists from the commandline |
Date: | Tue, 17 Jan 2006 13:27:49 +0000 |
On 17 Jan 2006, at 08:44, Dennis Leeuw wrote:
Hi all,I am struggeling with plists. It would be nice if 'controller' could use plists to find out everything there is to know about a certain installed piece of software. But I do not understand how I can access e.g. the Info-gnustep.plist. There seems to be no way I can feed defaults with a file.Is this correct or am I missing something?
Not sure what you want ... perhaps to extract the value of a field from a plist file containing a serialised dictionary? AFAIK there is no command-line tool to do that ... though writing one would be easy. If you want, I could do one to take a single argument (the key to use for extraction) and act as a filter taking the original property list as standard input and writing the extracted value as standard output or something similar.
[Prev in Thread] | Current Thread | [Next in Thread] |