the example i gave below includes this possibility. bash provides
the syntax <(list) which attaches the output of (list) to a named
pipe and provides that named pipe as the command-line parameter
of the command.
> for PUT, write() seems ok.
> for POST,... i dunno :) what is the purpose of the POST command ?
well, it's a URL so that URL could be news:// or something else
that supports the POST operation. i presume we are considering
any URL, not just "http://..."
> On Thu, Jun 24, 1999 at 05:39:26PM +0100, Jan-Simon Pendry wrote:
> >
> > use the perl GET command ...
> >
> > GET http://www.site.org/index.html | less
> >
> > or use a shell (which is there for a reason)
> >
> > diff <(GET http://sometime.org) <(GET http://sometime.com)
> >
> > a large problem with hiding this functionality inside open() is
> > that the URL is not the only attribute being sent in the HTTP/1.1
> > GET request. also, what interface would you provide for PUT and
> > POST?
> >
> > jan-simon.
jan-simon.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/