1--------- Testing CMD echoer ---------
2
3@pwd@>if 1 == 1 echo j1  | (echo j2 )  else echo j3@space@
4j2@space@
5
6@pwd@>(echo a  1>&2  | echo a  1>&2 ) 2>&1@space@
7a@space@
8a@space@
9
10@pwd@>echo 1@space@
111
122
133
144
15
16@pwd@>foobar
17
18@pwd@>echo
19ECHO is on.
20
21@pwd@>foobar parameter@space@
22
23@pwd@>echo parameter@space@
24parameter
25
26@pwd@>toto1>NUL@space@
27
28@pwd@>toto1>NUL@space@
29
30@pwd@>toto  1>NUL@space@
31
32@pwd@>toto  1>NUL@space@
33
34@pwd@>toto1>NUL 2>&1@space@
35
36@pwd@>toto1>NUL 2>&1@space@
37
38@pwd@>toto  1>NUL 2>&1@space@
39
40@pwd@>toto  1>NUL 2>&1@space@
41
42@pwd@>a & b
43
44@pwd@>a & b
45
46@pwd@>a   & b
47
48@pwd@>a   & b
49
50@pwd@>a || b
51
52@pwd@>a || b
53
54@pwd@>a   || b
55
56@pwd@>a   || b
57
58@pwd@>a && b
59
60@pwd@>a && b
61
62@pwd@>a   && b
63
64@pwd@>a   && b
65
66@pwd@>if 1 == 1 (echo lol )  else (echo boom )@space@
67lol
68
69@pwd@>if 1 == 1 (echo lol )  else (echo boom )@space@
70lol
71
72@pwd@>for /L %l in (1 1 5) do (echo %l )@space@
73
74@pwd@>(echo 1 )@space@
751
76
77@pwd@>(echo 2 )@space@
782
79
80@pwd@>(echo 3 )@space@
813
82
83@pwd@>(echo 4 )@space@
844
85
86@pwd@>(echo 5 )@space@
875
88
89@pwd@>for /L %l in (1 1 5) do (echo %l )@space@
90
91@pwd@>(echo 1 )@space@
921
93
94@pwd@>(echo 2 )@space@
952
96
97@pwd@>(echo 3 )@space@
983
99
100@pwd@>(echo 4 )@space@
1014
102
103@pwd@>(echo 5 )@space@
1045
105
106@pwd@>for /L %l in (1 1 5) do ()@space@
107
108@pwd@>()@space@
1091
110
111@pwd@>()@space@
1122
113
114@pwd@>()@space@
1153
116
117@pwd@>()@space@
1184
119
120@pwd@>()@space@
1215
122
123@pwd@>if 1 == 1@space@
124hi
125
126@pwd@>if 1 == 1 ()@space@
127heh
128
129@pwd@>if 1 == 0 ()  else@space@
130better
131
132@pwd@>if 1 == 0 ()  else ()@space@
133better2
134
135@pwd@>(a)@space@
136
137@pwd@>(a b )@space@
138--------- Finished  --------------
139