command
module
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Aug 15, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
xpd
A simple xpath tool using golang xpath library.
Install
go get -u https://github.com/angela0/xpd
Usage
xpd <selector> [filename]
For example:
xpd '//title' index.html
Arg filename is optional, and xpd will read data from stdin if not provided.
For example:
less index.html | xpd '//title'
# or
xpd '//title' < index.html
Licence
MIT
Some codes are from htmlquery protected by MIT.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.