You may find the following thread from the forum of interest:

http://www.jsoftware.com/pipermail/programming/2013-March/031870.html

On Tue, Apr 18, 2017 at 5:33 PM, bill lam <[email protected]> wrote:

> 1!:x cannot read non regular files.try
> 2!:0'cat /dev/...'
>
>
>
> On 18 Apr, 2017 1:13 pm, "Xiao-Yong Jin" <[email protected]> wrote:
>
> Hi,
>
> I was trying to get some random bits but found out that 1!:11 doesn't work
> with /dev/urandom.
>
>    _3(3!:4)1!:11'/dev/urandom';0 8
> |index error
> |   _3(3!:4)    1!:11'/dev/urandom';0 8
>
> It works with a normal file but not /dev/urandom.
> Is it a bug?  Any work around for this?
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> 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