J built in primitives can only work with regular files. Those can be seek
to the end. If it is then you can use index read or map the file to a J
noun.   See memory mapped file lab or documentation.

On Fri, 24 Jun 2022 at 5:10 PM Pawel Jakubas <jakubas.pa...@gmail.com>
wrote:

> Dear J enthusiasts,
>
> What is your recommended way to call linux command/invoke program from J
> and
> capture result? Let's say I want to invoke
> *dd if=/dev/urandom bs=100 count=1*
>
> Could you point me to example showing how to deal with bigger streams in J,
> ie. process the source by chunks.
>
> Thanks a lot in advance and cheers,
> Pawel
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to