X XcodeNewb macrumors member Original poster Feb 6, 2009 79 0 Feb 13, 2009 #1 I have a text file with a couple of thousands lines in it. Is there an easy way to convert this to a plist file? Thanks for the help. Really, no one knows?
I have a text file with a couple of thousands lines in it. Is there an easy way to convert this to a plist file? Thanks for the help. Really, no one knows?
J jnic macrumors 6502a Oct 24, 2008 567 0 Cambridge Feb 16, 2009 #2 Regex find and replace? Seriously, it's just an XML file. Fire up your favorite editor and wrap the relevant bits in <key> and <string> tags, then add the standard header on top and the corresponding closing tags beneath.
Regex find and replace? Seriously, it's just an XML file. Fire up your favorite editor and wrap the relevant bits in <key> and <string> tags, then add the standard header on top and the corresponding closing tags beneath.
F firewood macrumors G3 Jul 29, 2003 8,149 1,400 Silicon Valley Feb 16, 2009 #3 Sounds like something you should be able to do with a few lines of perl script (or whatever other text scripting language you know).
Sounds like something you should be able to do with a few lines of perl script (or whatever other text scripting language you know).