Hello all,
This is my first post and I hope you can help me out.
I searched for quite some hours now and haven't found a simple solution to my problem.
It is as following:
I got this file:
dl.dropbox.com/u/14586156/stuff/Bookmarks.plist
and want to
replace the Text between "file://localhost/ and /Documents/ with whatever. (Not literaly whatever, just any other text).
( in BASH/SHELL)
Since this is not a normal sorted text file and instead a plist it seems a quite
task to do.
I guess sed and gawk should be able to do this, yet neither of the solution provided anywhere helped me to accomplish this
I really hope anyone could help me with this since it is driving me crazy.
Thanks in advance for helping out a desperate shell scripting newb:
pasc
BTW: if there is a solution: Can these replacements also be limited to the ocurrences (e.g. only replace the first, second or maybe third occurence ?
Also: Is there any plist parsing utility for shell or awk that can write the parsed result to a new file in easily readable format ?