tried that but how then do i access the data being piped into perl? right now, this is all the perlscript says:
#!/usr/bin/perl -w for (my $i = 0; $i <= scalar(@ARGV) - 1; $i++) { print "$ARGV[0]\n"; } and when i enter what you wrote, all i get is a new prompt. ----- Original Message ----- > On Mon, May 13, 2002 at 01:19:58PM -0700, daniel wrote: > > > you know how you can use wget to take the contents of a webpage and print > > them to stdout? how could i then send that output into a perlscript > > quietly? i've gotten this far: > > > > wget "www..." --quiet --output-document=- > > > > but it's what comes next that's got me > > how do i keep the quotes and newlines from confusing the shell? > > > > am i supposed to be using the | or the > or neither? > > wget http://url --quiet --output-document=- | your-script.pl _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list