From ab03cf6d05b7c475e5351eadb0ca34b58161ca99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=85=E4=BA=A6=E6=99=9F?= <10215501451@stu.ecnu.edu.cn> Date: Sun, 11 Sep 2022 17:12:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20''?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 10215501451.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 10215501451.md diff --git a/10215501451.md b/10215501451.md new file mode 100644 index 0000000..104f684 --- /dev/null +++ b/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 \ No newline at end of file