This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10215501412
/
Computer-Systems-Labs
Watch
1
Star
0
Fork
1
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Compare commits
merge into: 10215501412:master
10215501412:10215501412-patch-1
10215501412:master
10215501425:master
10215501425:10215501412-patch-1
...
pull from: 10215501425:master
10215501425:master
10215501425:10215501412-patch-1
10215501412:10215501412-patch-1
10215501412:master
1 Commits
master
...
master
Author
SHA1
Message
Date
ranwan
1dc7f3f49f
add 10215501425.sh
2 years ago
1 changed files
with
16 additions
and
0 deletions
Split View
Diff Options
Show Stats
+16
-0
lab1/10215501425.sh
+ 16
- 0
lab1/10215501425.sh
View File
@ -0,0 +1,16 @@
#!/bin/bash
for
i in
{
1..1000
}
;
do
echo
$RANDOM
|
md5sum
|
cut -c 1-9
;
done
>> data
;
sort data
|
uniq
;
sort -n data
|
uniq
;
sort -n data
|
uniq > data1
;
sort -n data
|
uniq >> data2
;
grep -o
"aa"
data1
|
wc -l
;
Write
Preview
Loading…
Cancel
Save