This patch add new feature to /usr/bin/GET: if '-' parameter is specified on cmdline, GET read one URL from stdin *** /usr/bin/GET Mon Feb 11 18:56:16 2002 --- GET Tue Jul 2 16:01:58 2002 *************** *** 389,394 **** --- 389,398 ---- # Ok, now we perform the requests, one URL at a time while ($url = shift) { + # if '-' parameter is specified on cmdline, read one URL from stdin + if ($url =~ /^-$/ ) { + read STDIN, $url, 4096; + } # Create the URL object, but protect us against bad URLs eval { if ($url =~ /^\w+:/ || $options{'b'}) { # is there any scheme specification