![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME
cmd2setup - Store page-scraping RegExps for use with cmd2* functions
SYNOPSIS
cmd2setup [COMMAND NAME] -set [REGEXP]
EXAMPLES
cmd2setup g
returns the RegExp for scraping results of command 'g'
cmd2setup g -set /<p class=g>[^\f]*?<\/nobr>/
set the RegExp for command 'g'
NOTES
The regular expressions used here must be enclosed in a proper // pair whose
contents are RegExp-safe (ie /'s escaped out as \/)
AUTHOR
Stephen Paul Weber
http://singpolyma-tech.blogspot.com/