Results 1 through
4
while searching for:
"xml"
How do you perform string replacements on a file using sed?
Here's an example of how to do replacements on a bunch of files:
user# for f in $(tree -i -f | grep -E '[a-z]\.xml$'); do sed -i $f -e 's/howtosrc/Docs/g'; done;
Here's an example to do a really simple replacement:
user# sed -i test.txt -e '
[...]
http://rockfloat.com/board/post/?id=585
January 07, 2008 @03:19
(Replies: 0)
(Rank: 0.000)
How can you pull out the ascii from a hex style .cap file?
Here's one way:
user# cut -c 50-65 foobar.cap | tr -d '\n' | tr -d '\n' > foobar.txt
This works with a file that is formated like this:
3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 <?xml version="1 00000
2E 30 22 20 73 74 61 6E 64 61 6
[...]
http://rockfloat.com/board/post/?id=499
November 29, 2005 @20:52
(Replies: 0)
(Rank: 0.000)
How can you generate a report of recent changes in a subversion repository, like a changelog?
Try looking into the following:
http://ch.tudelft.nl/~arthur/svn2cl/
http://mpy-svn-stats.berlios.de/
Both format the output of:
user# svn --xml -v log
The former uses xsl to create a typical changelog, the latter genera
[...]
http://rockfloat.com/board/post/?id=410
August 05, 2005 @05:27
(Replies: 0)
(Rank: 0.000)
python is complaining about no xml parsers (sax or dom) not being found... what port might i need?
good question:
checkout py23-xml which is located at /usr/ports/textproc/py-xml
John M.
http://rockfloat.com/board/post/?id=341
August 30, 2003 @03:20
(Replies: 0)
(Rank: 0.000)