这是一个本人学习 csapp 的 learning 库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 rivejä
336 B

#!/bin/bash
head -n 50000 /dev/urandom | base64 > random;
head -n 50000 random > random2;
rm random;
mv random2 random;
sort --unique random > unique_sort_by_asc;
sort --unique --numeric-sort random > unique_sort_by_num;
cat unique_sort_by_asc > totall;
cat unique_sort_by_num >> totall;
grep -o "com" totall | wc -l > number_of_com;