[Jprogramming] indexed read doesn't work with /dev/urandom
bill lam
bbill.lam at gmail.com
Tue Apr 18 05:33:46 UTC 2017
1!:x cannot read non regular files.try
2!:0'cat /dev/...'
On 18 Apr, 2017 1:13 pm, "Xiao-Yong Jin" <jinxiaoyong at gmail.com> 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
More information about the Programming
mailing list