xml-Verarbeitung mit xml2

In der c’t war kürzlich ein Artikel über das praktische Kommandozeilentool xml2. Dieses hilft bei der Verarbeitung von XML-Dateien in Shell-Skripten.

Ein Anwendungsvorschlag von der Beispielseite:

% wget -q -O - http://slashdot.org/slashdot.xml | xml2 | 
  grep story/title= | cut -d= -f 2-
More on Athlon Overclocking
New Atari Jaguar Game Running $1,225 on eBay
AT&T's Korn Shell Source Code Released
TheBench.org: Community Cartooning
OpenGL for Palm OS Environment
Banner Ads on Your Cell Phone
Burning Money on Open Source
Embedded OpenBSD Running the Stallion ePipe
Bezos Responds to Tim O'Reilly's Open Letter
Update on 'Blame Canada' and the Oscars

Leave a Reply