Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1868

TEE and TMP[0-9]: devices

$
0
0
When using the TMPx: pseudo char devices with TEE the pipe output dit not added to the TMP device


Code:
TMP /C 1
echo Text| tee/a tmp1:
Text

echo lines TMP1=%@lines[TMP1:]
lines TMP1=0

Using In-Proces Pipe works
Code:
echo Text|! tee/a tmp1:
Text


echo lines TMP1=%@lines[TMP1:]
lines TMP1=1

What do i wrong?

Viewing all articles
Browse latest Browse all 1868

Trending Articles