xpd

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2021 License: MIT Imports: 3 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL