[CS-FSLUG] Command line query

Brian Derr bderr at myrealbox.com
Thu Jan 20 05:59:26 CST 2005


On Tue, Jan 11, 2005 at 08:50:09PM -0600, Ed Hurst wrote:
> I've conspired with my wife to present a recent photo of us. Pay close
> attention, as these two are really quite dangerous. Expect to see this
> image soon on an APB  :-D
> 
>    http://ed.asisaid.com/VnE.jpg

I want to view this picture.  Here is my dilemma:  I'm too lazy to copy
the text and paste it to Firefox so I want to download it with wget and
view it with xv.  What would the syntax be?  The following is what I've
tried.

1.)  wget http://ed.asisaid.com/VnE.jpg | xv -
2.)  xv - < wget http://ed.asisaid.com/VnE.jpg
3.)  xv - < `wget http://ed.asisaid.com/VnE.jpg`
4.)  wget http://ed.asisaid.com/VnE.jpg > xv

None of these seem to work and in fact a couple of them do weird things.
Any ideas of a one-liner that can download and open the JPEG for
viewing?  :-)

Brian
-- 
The just man walketh in his integrity:
his children are blessed after him.  -- Proverbs 20:7




More information about the Christiansource mailing list