浏览代码

Merge pull request 'hw' (#1) from 10215501412/Computer-Systems-Labs:10215501412-patch-1 into master

Reviewed-on: https://gitea.shuishan.net.cn/52265903006/Computer-Systems-Labs/pulls/1
master
朱君鹏 2 年前
父节点
当前提交
8f0633a240
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. +11
    -0
      lab1/hw1.sh

+ 11
- 0
lab1/hw1.sh 查看文件

@ -0,0 +1,11 @@
sort data.txt | uniq -u
sort -n data.txt | uniq -u
sort data.txt > data2
sort -n data.txt > data3
sort data.txt >> data2
sort -n data.txt >> data3
grep ABC data.txt
grep -o ABC data.txt
grep ABC data.txt | wc -l
grep -o ABC data.txt | wc

正在加载...
取消
保存