Quantcast
Channel: How can I parse an XML file from the command line (for GeekTool)? - Super User
Browsing all 2 articles
Browse latest View live

Answer by u1686_grawity for How can I parse an XML file from the command line...

Perl's XML::Twig comes with...xml_grep --nowrap --text_only /statuses/status/textIn XML::XPath you can do:perl -MXML::XPath -E 'my $xp = XML::XPath->new(ioref => \*STDIN); say...

View Article



How can I parse an XML file from the command line (for GeekTool)?

I'd like to find a Terminal command that can pull the file at http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=SOMEUSERNAME&count=1 and parse it to find a user's Twitter status. The...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images