回答編集履歴

1

fix

2018/01/23 10:32

投稿

mattn
mattn

スコア5030

test CHANGED
@@ -14,8 +14,8 @@
14
14
 
15
15
  ```
16
16
 
17
- source childA 2 > $1 | awk '{print strftime("%Y/%m/%d %H:%M:%S",systime())" "$0;fflush()}' >> parent.log ←parent.logに対してchildA.shでechoしたものをログ形式で出力
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 > $1 | awk '{print strftime("%Y/%m/%d %H:%M:%S",systime())" "$0;fflush()}' >> parent.log ←parent.logに対してchildB.shでechoしたものをログ形式で出力
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
  ```