![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| the best way of editing .plist files | mehow | OS X (Apple) | 1 | 01-21-2008 06:46 PM |
| Using 'defaults read' and storing the output in a variable | davewg | Shell Programming and Scripting | 0 | 11-14-2007 08:04 AM |
| ls while read loop - internal read picking up wrong input | dkieran | Shell Programming and Scripting | 2 | 05-14-2007 04:02 PM |
| Cannot read in variable using read on first try | normie | UNIX for Advanced & Expert Users | 1 | 10-05-2005 02:42 AM |
| defaults httpd.conf | macdonto | IP Networking | 5 | 09-25-2001 06:21 PM |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
||||
|
Hi there,
I'm trying to retrieve a value from a plist file, which I have done before with no problems, however this plist file looks a little different.... Normally it's like this; <plist version="1.0"> <dict> key>KeyName</key> <string>blah</string> I want the value of KeyName, so 'defaults read com.example KeyName' returns the value "blah". But the plist I'm having problems with is like this.... <plist version="1.0"> <dict> key>HEADING</key> <dict> <key>KeyName</key> <string>blah</string> ...and 'defaults read com.example KeyName' returns an error saying the domain/default pair does not exist. Please can anyone advise if there is a way to retrieve this value? Kind Regards davewg |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|