[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SLUG] wget question
For a nicer command line, if you have the LWP perl package installed:
$ GET http://slug.org.au/
will print good requests to stdout and dud requests to stderr.
(Discovered this while trying manual HTTP requests, and the HTTP session
timed out. Probably why it was written, too.)
Wrote Jeff Waugh, on May 22 around 14:21:
> <quote who="email@example.com">
> > This might seem like a dumb question, but I'm try to get wget to
> > output to stdout so I can pipe it to another command.
> wget -O - http://www.slug.org.au/images/slug.gif | strings
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug