> you need to read and write the same file descriptor.  (i'm
> not sure why i would use this instead of grep, even for http
> queries.)  <>[fd] is rc syntax for opening a file for r/w.
> here's an example of opening fd 3 rw, then sending the
> query into that fd and reading the results back:

for interactive playing, it is easier to use

% aux/rdwr /n/search/search
> search=eat&
...

though maybe the trailing newline would cause trouble.

see /sys/src/cmd/ip/httpd/netlib_find.c for a real client.

russ

Reply via email to