suggestion

2003-09-12 Thread John Joseph Bachir
it would be great if there was a flag that could be used with -q that
would only give output if there was an error.

i use wget a lot in pcs:

  johnjosephbachir.org/pcs

thanks!
john


Re: suggestion

2003-09-12 Thread John Joseph Bachir
great, thanks for the suggestions. yeah i am lookig for somethign that
will be absolutely quiet when there is no error, but i have been using
-nv in the meantime.

john



On Fri, 12 Sep 2003, Aaron S. Hawley wrote:

|is -nv (non-verbose) an improvement?
|
|$ wget -nv www.johnjosephbachir.org/
|12:50:57 URL:http://www.johnjosephbachir.org/ [3053/3053] - index.html [1]
|$ wget -nv www.johnjosephbachir.org/m
|http://www.johnjosephbachir.org/m:
|12:51:02 ERROR 404: Not Found.
|
|but if you're not satisfied you could use shell redirection and the tail
|command:
|
|$ wget -nv www.johnjosephbachir.org/m 21  /dev/null | tail +2
|
|you could use the return value of error to echo would ever you want.
|$ wget -q www.johnjosephbachir.org/m || echo Error
|Error
|
|
|On Fri, 12 Sep 2003, John Joseph Bachir wrote:
|
| it would be great if there was a flag that could be used with -q that
| would only give output if there was an error.
|
| i use wget a lot in pcs:
|
|   johnjosephbachir.org/pcs
|
| thanks!
| john
|