grep like querySelectorAll.
Using npm.
$ npm install -g qrep
Confirm.
$ qrep usage
$ npm uninstall -g qrep
$ npm update -g qrep
qrep selector filename
qrep selector url
qrep selector filename -e encoding(default = utf8)
qrep selector url -e encoding(default = utf8)
Find selector in filename.
$ qrep #logo ./tpl/index.html
<header><span id="logo"></span></header>
Find selector on url,
$ qrep span.octicon-logo-github https://github.com
<span class="mega-octicon octicon-logo-github"></span>