瀏覽代碼

Merge pull request '10215501451' (#8) from 10215501451/Computer-Systems-Labs:master into master

Reviewed-on: https://gitea.shuishan.net.cn/52265903006/Computer-Systems-Labs/pulls/8
master
朱君鹏 2 年之前
父節點
當前提交
6ecc4bbcde
共有 1 個文件被更改,包括 21 次插入0 次删除
  1. +21
    -0
      10215501451.md

+ 21
- 0
10215501451.md 查看文件

@ -0,0 +1,21 @@
touch text1.txt
for i in `seq 50000`;do echo $RANDOM | md5sum | cut -c 1-9 ;done >> text1.txt
export LC_ALL=C
sort text1.txt | uniq
sort -n text1.txt | uniq
sort text1.txt | uniq > letter.txt
sort -n text1.txt | uniq >> number.txt
echo -e "computer\ndata\nscience\nengineering\nscience\nengineeringc\ncomputer\ncomputer\necnu\ndata" > text2.txt
grep computer text2.txt
grep -c computer text2.txt

Loading…
取消
儲存