-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Talkington wrote:

>>1. grab a page off the web
>>2. process it with a perl script
>>
>>that's it
>>i thought something like
>>  wget www.site.com/index.html | perlscript.pl
>>would work
>>but no
>>instead it just downloaded the index.html file and exited
>
>Silly goose.  That's because wget doesn't send its output to sdout.  
>It goes to a file.  You'll have to pick a different option:
>
>- cat the file after the wget,
>- use 'script.pl < filename' after wget, or perhaps 
>- use something like 'lynx -dump <url>' to get the desired 
>effect.

Oops - you could, in fact, do this with wget.  Look for 
- --output-document in the man page. 

- -d


- -- 
David Talkington

PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp
- --
http://setiathome.ssl.berkeley.edu/pale_blue_dot.html

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQA/AwUBPHFVcb9BpdPKTBGtEQIHyQCgnJmTLOVFLqJIqFViAPdQ9WMdpwEAoIfb
Ww9SriNnh98IMFBUmd0KFW44
=fZ9B
-----END PGP SIGNATURE-----




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to