Cut all remote paths from HTTP URLs received from standard input (one per line) keeping only the protocol identifier, host name, and trailing slash, of the form http://example.com/
sed -n 's;\(http://[^/]*/\).*;\1;p'