Skip to content
Advertisement

Tag: xcode

Extract only the in plist using bash in Mac

I want to extract the key value in Countries in the following plist. For example, I want the output file contains the following keys only: But if I use the following script, It will print all the nested element under Countries including: Capital Washington DC Continent North America. How can I modify the script so that it will only print

Advertisement