简体   繁体   中英

using egrep in windows command

I am a windows user and want to perform a crawl using following script (I downloaded wget and egrep)

wget --quiet http://example.com/sitemap.xml --output-document - | egrep -o "http://example.com[^<]+" | wget -q --delete-after -i -

Hovewer the egrep option is not recognized, can you advise? Thank you

This is a unix command line. Try installing cygwin or git-bash open a bash window and run the command from there.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM