User submitted
This commit is contained in:
parent
6bdc35b140
commit
251768a249
|
@ -2,7 +2,13 @@
|
|||
|
||||
#将答案填写在下方空白区域
|
||||
#/********** Begin **********/#
|
||||
touch c.txt
|
||||
touch d.txt
|
||||
|
||||
cat a.txt | tr -s '\n' | grep -Eo "\s*[a-zA-Z]+\s*$" | sed s/[[:space:]]//g > c.txt
|
||||
cat b.txt | tr -s '\n' | grep -Eo "^\s*[a-zA-Z]+\s*" | sed s/[[:space:]]//g > d.txt
|
||||
|
||||
cat d.txt c.txt | sort | uniq -u
|
||||
|
||||
|
||||
#/********** End **********/#
|
Loading…
Reference in New Issue