erik quanstrom wrote:
i think you're making this too complicated. you wouldn't want
to use <> with a real file. a fileserver like ndb/dns often ignores seeks.
why use a non-default file descriptor?

why wouldn't this work?

        <> /net/dns { echo google.com ip >[1=0] ; cat}

if you have a fileserver that does not ignore seeks, then this would work

        <> fspath { echo cmd ; syscall seek 0 0 0; cat}



actually, this also probably reads better in Martian :-)

ron

Reply via email to