max*_*zig 10 command-line shell
前段时间我使用类似 seq 的工具将一系列伪随机生成的数字打印到标准输出。您可以指定范围、种子和样本数量等等。
我只是忘记了这个工具的名字。谁能帮我吗?
也许您知道更高级的工具,例如,它支持不同的概率分布,甚至支持在不同字母和长度/字符分布下生成一系列随机单词。
小智 11
你的意思是 jot?
$ jot
jot: jot - print sequential or random data
usage: jot [ options ] [ reps [ begin [ end [ s ] ] ] ]
Options:
-r random data
-c character data
-n no final newline
-b word repeated word
-w word context word
-s string data separator
-p precision number of characters
Run Code Online (Sandbox Code Playgroud)
如果您使用 Ubuntu,则该软件包是 athena-jot。一个简单的例子:
$ jot -r 10 12 27
26
13
22
18
25
12
13
23
15
23
Run Code Online (Sandbox Code Playgroud)
再见。