GETURL

Retrieve a specified URL and write it to standard output

Description:

Retrieve the contents of a specified URL and write them to standard output.

Usage:

geturl url-to-be-retrieved [show-HTTP-header]

Parameters:

url-to-be-retrieved
The URL whose contents are to be written to standard output.
show-HTTP-header
If any value is given for this optional argument then the HTTP header at the start of the requested page (which is usually hidden) is echoed to standard output.

Examples:

geturl http://www.roe.ac.uk/acdwww/cursa/home.html
Retrieve the contents of URL http://www.roe.ac.uk/acdwww/cursa/home.html.
geturl http://www.roe.ac.uk/acdwww/cursa/home.html head
Retrieve the contents of URL http://www.roe.ac.uk/acdwww/cursa/home.html and show the header (which is usually hidden) at the start of the page.