![]() |
best linux util for parsing xml data?
curious what you guys use currently im just using grep,sed and wget to grab images from a wordpress export and grabbing them. if i can get rid of grep and sed from the equation would be neat.
Code:
grep '<wp:attachment_url>' export.xml | sed -e 's/<wp:attachment_url>\(.*\)<\/wp:attachment_url>/\1/;s/^[ \t]*//' | sed '$!N; /^\(.*\)\n\1$/!P; D' | xargs wget -q |
| All times are GMT -7. The time now is 07:52 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123