- May
- 13,834
- 211
This works fine.
This doesn't work well (TIMER ON twice).
Apparently the second TIMER is executed in the pipe instance. Why are the two command lines parsed/executed differently?
GREPTEST.BTM looks like this.
Code:
v:\> timer & echo foo | grep foo & timer
Timer 1 on: 18:13:14
foo
Timer 1 off: 18:13:14 Elapsed: 0:00:00.146
This doesn't work well (TIMER ON twice).
Code:
v:\> timer & echo foo | greptest.btm foo & timer
Timer 1 on: 18:19:21
foo
Timer 1 on: 18:19:21
Apparently the second TIMER is executed in the pipe instance. Why are the two command lines parsed/executed differently?
GREPTEST.BTM looks like this.
Code:
v:\> type greptest.btm
grep.exe %1