Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Fw: poor man's wget



> > { echo GET /; echo; cat; } <>/dev/tcp/www.server.com/80

This could be done without much difficulty by simplifying zftp_open and
wiring the code into the existing redirection stuff.  Unfortunately no-one
else apart from Zefram has shown much interest in the network stuff, so
it's unlikely to happen any time soon.

You could probably then rewrite most if not all of zftp as shell functions.

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



Messages sorted by: Reverse Date, Date, Thread, Author