Explorar el Código

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
朱君鹏 hace 2 años
padre
commit
6ecc4bbcde
Se han modificado 1 ficheros con 21 adiciones y 0 borrados
  1. +21
    -0
      10215501451.md

+ 21
- 0
10215501451.md Ver fichero

@ -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

Cargando…
Cancelar
Guardar