回答編集履歴
2
冗長を削除
answer
CHANGED
@@ -2,4 +2,8 @@
|
|
2
2
|
```
|
3
3
|
find . -type f -exec grep -E "test.c" /dev/null {} \; | awk -F ':' '{print $2}'
|
4
4
|
```
|
5
|
+
以下修正
|
6
|
+
```
|
7
|
+
find . -type f -exec grep -E "test.c" {} \;
|
8
|
+
```
|
5
9
|
以上。
|
1
微調整
answer
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
cat不要です。
|
2
2
|
```
|
3
|
-
find . -type f -exec grep "
|
3
|
+
find . -type f -exec grep -E "test.c" /dev/null {} \; | awk -F ':' '{print $2}'
|
4
4
|
```
|
5
5
|
以上。
|