You may remove the newline at the end and convert the string
into a number, eg

   ". LF-.~ 2!:0 'cat /dev/urandom|od -N4 -An -i'
1281601434
 
long may be use in J64

   0". LF-.~  2!:0 'cat /dev/urandom|od -N8 -An -l'
8774956622310178816


Ср, 13 мар 2013, Brian Schott писал(а):
> Bill,
> 
> Your approach produced the following results on my Mac OS X. Notice
> the two blank lines and the negative number result.
> 
>    2!:0 'cat /dev/urandom|od -N4 -An -i'
>                 818045955
> 
> 
>    2!:0 'cat /dev/urandom|od -N4 -An -i'
>               -1293144445
> 
> 
> 
> -- 
> (B=)
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to