回答編集履歴
1
fix
test
CHANGED
@@ -14,8 +14,8 @@
|
|
14
14
|
|
15
15
|
```
|
16
16
|
|
17
|
-
source childA 2
|
17
|
+
source childA 2> $1 | awk '{print strftime("%Y/%m/%d %H:%M:%S",systime())" "$0;fflush()}' >> parent.log ←parent.logに対してchildA.shでechoしたものをログ形式で出力
|
18
18
|
|
19
|
-
source childB 2
|
19
|
+
source childB 2> $1 | awk '{print strftime("%Y/%m/%d %H:%M:%S",systime())" "$0;fflush()}' >> parent.log ←parent.logに対してchildB.shでechoしたものをログ形式で出力
|
20
20
|
|
21
21
|
```
|