Solved

wget to stdout

Posted on 2004-09-30
2
2,850 Views
Last Modified: 2012-06-21
This should be a cinch but i'm @#$%@#ed if i can see the option - how do you tell wget *not* to create a file, but just dump to stdout?
0
Comment
Question by:CEHJ
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 19

Accepted Solution

by:
ramazanyich earned 50 total points
ID: 12189299
try
wget -O - ...

excerpt from man wget:
       -O file
       --output-document=file
           The documents will not be written to the appropriate
           files, but all will be concatenated together and written to file.  If file already exists, it will be over-
           written.  If the file is -, the documents will be
           written to standard output.  Including this option
           automatically sets the number of tries to 1.
0
 
LVL 86

Author Comment

by:CEHJ
ID: 12189373
Ah. I'm actually using the Windoze port at the moment, and this is all i get in --help:

  -O   --output-document=FILE   write documents to FILE.

but the option

-O -

works nonetheless. Thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question