Procházet zdrojové kódy

modify 10215501406.sh

master
10215501406 před 2 roky
rodič
revize
5549a6d0c6
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. +3
    -3
      lab1/10215501406.sh

+ 3
- 3
lab1/10215501406.sh Zobrazit soubor

@ -4,10 +4,10 @@ sort -d 1.txt | uniq
sort -n 1.txt | uniq sort -n 1.txt | uniq
sort -d 1.txt | uniq > 1_uniq_by_asc.txt sort -d 1.txt | uniq > 1_uniq_by_asc.txt
sort -n 1.txt | uniq > 1_uniq_by_num.txt sort -n 1.txt | uniq > 1_uniq_by_num.txt
cat 1_uniq_by_asc.txt | uniq >> 1_uniq_total.txt 1_uniq_by_asc.txt >> 1_uniq_total.txt
cat 1_uniq_by_num.txt | uniq >> 1_uniq_total.txt 1_uniq_by_num.txt >> 1_uniq_total.txt
#2 #2
for i in `seq 50000`;do echo $RANDOM | md5sum | cut -c 1-9 ;done > 2.txt for i in `seq 50000`;do echo $RANDOM | md5sum | cut -c 1-9 ;done > 2.txt
grep 'computer' 2.txt grep 'computer' 2.txt
grep -o 'computer' 2.txt | wc -l grep -o 'computer' 2.txt | wc -l

||||||
x
 
000:0
Načítá se…
Zrušit
Uložit