By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!esc "echo %%@quote[%_selected]" enter
v:\> 123.btm
15:54 28
14:54 28
13:54 27
12:54 26
11:54 26
10:54 26
09:54 25
08:54 24
07:54 24
06:54 27
05:54 30
04:54 30
03:54 32
02:54 33
01:54 32
00:54 33
23:54 33
22:54 33
21:54 33
20:54 34
19:54 35
18:54 35
17:54 35
16:54 35
Average: 30.17
v:\> echo %@quote[]
ECHO is OFF
v:\> echo %@quote[Average: 30.17]
"Average: 30.17"
copy /q "http://w1.weather.gov/data/obhistory/KSYR.html" %TEMP\ksyr.tmp
setarray /F l[24]
echo %@execarray[l,tpipe /input=%TEMP\ksyr.tmp ^
/grep=3,0,0,1,0,0,0,0,"right.*left" ^
/replace=4,1,0,1,0,0,0,0,0,".*([0-9][0-9]:[0-9][0-9]).*td.(-*[0-9]*)..td..td.*[0-9]*..td.$","$1 $2" ^
/head=0,0,24]
v:\> 123.btm
0
v:\> echo %@quote[]
ECHO is OFF
v:\> echo %@quote[v:\> 123.btm]
"v:\> 123.btm"
The test above does not work in TCMD17 either, so it is apparently not a proper test. Here is the real problem.
I have a toolbar button called EREN with the following command specification:
esc "eren %%@quote[%_selected]" enter
esc "echo %%@quote[%_selected]" enter
echo abc def | tpipe /grep=3,0,0,1,0,0,0,0,"ab"
v:\> echo abc def | tpipe /grep=3,0,0,1,0,0,0,0,"ab"
abc def
v:\> echo %@quote[]
ECHO is OFF
v:\> echo %@quote[abc def]
"abc def"
Yes, indeed ... and only piping to internals. There's no problem piping to GREP.EXE or SORT.EXE, but the problem shows up with either of these:It may be a problem related to piping.
echo abc def | ffind /t"ab"
echo abc def | do x in @CON: ( echo %x )