SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

srcgrep

Section: User Commands (1)
Updated: Nov 1999
Index 

NAME

srcgrep - search html pages for <img ... src=...> or <body ... background=...> and print it in a nice format 

SYNOPSIS

srcgrep[-hps] html-files 

DESCRIPTION

srcgrep is a utility that searches html files for the img/src or body/background tags. This is very useful to quickly check for the path and type of included images. Please note that srcgrep looks only at the img or body tag and can thus not find any images referenced bya href-tag. 

OPTIONS

-h
Prints a little help/usage information.
-p
print only the link to the path from the <img src=> or <body background=> tag without any quotes.
-s
Short listing. Do not print the html file name and line number infront.

To tar together images used by a certain web pageyou can use:
tar cvf img.tar `srcgrep -sp page.html | sort | uniq | egrep -v '://'`

Note: This will work only if relative links are used in theweb page.

 

BUGS

no known bugs 

AUTHOR

Guido Socher (guido.sAATTwriteme.com) 

SEE ALSO

lshtmlref(), blnkcheck(1), taggrep(1), hrefgrep(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
BUGS
AUTHOR
SEE ALSO

This document was created byman2html,using the manual pages.