Skip to content

jamadam/xml-grep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xml-grep

SYNOPSIS

xml-grep 'CSS Selector'

DESCRIPTION

CSSセレクターでgrepします。「Mojo::DOM」をベースにしていますので、Mojo::DOM::CSSが対応してる セレクタが利用可能です。

Perl v5.10.1以上が必要です。もし古い場合は、アップグレードするか、perlbrewでググってください。

EXAMPLE

$ xml-grep 'a[href]'
$ xml-grep 'tbody th'
$ xml-grep 'tbody th' \*.html

SEE ALSO

[http://search.cpan.org/~sri/Mojolicious/lib/Mojo/DOM/CSS.pm] [http://search.cpan.org/~sri/Mojolicious/lib/Mojo/DOM/CSS.pm]:http://search.cpan.org/~sri/Mojolicious/lib/Mojo/DOM/CSS.pm

[https://github.com/jamadam/xml-grep/blob/master/xml-grep] [https://github.com/jamadam/xml-grep/blob/master/xml-grep]:https://github.com/jamadam/xml-grep/blob/master/xml-grep

Copyright (c) 2011 [jamadam] [jamadam]: http://blog2.jamadam.com/

Dual licensed under the MIT and GPL licenses:

About

xml-grep

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors