V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  linuxplus  ›  全部回复第 1 页 / 共 1 页
回复总数  2
Informative !谢谢大家!
2016 年 11 月 2 日
回复了 juventusryp 创建的主题 Python 如何将一个 word 里的几百个单词随机分组
直接命令行操作如何?
$ split -l 50 abc.txt

或者先简单乱序,再 split ?
while read i; do echo "$i $RANDOM"; done< abc.txt | sort -k2n | cut -d" " -f1
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   824 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 20:29 · PVG 04:29 · LAX 13:29 · JFK 16:29
♥ Do have faith in what you're doing.