z*****u 发帖数: 378 | 1 1. find a pair that add up to a given sum
2. find all phone numbers in the html pages in a folder (and subfolder).
something else, and self-introduction stuff |
c*********n 发帖数: 1057 | 2
~~~~~~这个他要求是写程序还是用grep?
【在 z*****u 的大作中提到】 : 1. find a pair that add up to a given sum : 2. find all phone numbers in the html pages in a folder (and subfolder). : something else, and self-introduction stuff
|
r**u 发帖数: 1567 | 3 第2题感觉像是在考linux command
【在 z*****u 的大作中提到】 : 1. find a pair that add up to a given sum : 2. find all phone numbers in the html pages in a folder (and subfolder). : something else, and self-introduction stuff
|
m*****f 发帖数: 1243 | 4 grep is also my first answer...
【在 r**u 的大作中提到】 : 第2题感觉像是在考linux command
|
c*********n 发帖数: 1057 | 5 我也觉得,但是这个需要掌握的很深入么?还是只要说用grep+regex就行了呢?
【在 r**u 的大作中提到】 : 第2题感觉像是在考linux command
|
r**u 发帖数: 1567 | 6 find dir -name '*' | xargs grep pattern
pattern该是phone num的regular expr,不会写。
【在 c*********n 的大作中提到】 : 我也觉得,但是这个需要掌握的很深入么?还是只要说用grep+regex就行了呢?
|