Thank you...
This worked for me: grep -v "^#" test.html | wget --spider -o log.txt -i - -----Original Message----- From: Hrvoje Niksic [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 5:31 PM To: Arthur DiSegna Cc: [email protected] Subject: Re: Comment HTML File? "Arthur DiSegna" <[EMAIL PROTECTED]> writes: > I am using -i to read urls from an HTML file. How can I make > comments to this file with out the log showing "test.html: Invalid > URL #" You can always preprocess the file using something like: grep -v '^#' inputfile | wget -i - or, if you want to get really fancy with your shell's process substitution (requires ksh/bash/zsh/...): wget -i <(grep -v ^# inputfile)
