cmd/tests: 'no echo' character with chains and brackets.
The @ character chains until we leave the current depth. The @ character can be applied to brackets. Signed-off-by: Flávio J. Saraiva <flaviojs2005@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6cbcc76e41
commit
a4161801f3
|
@ -31,6 +31,12 @@ echo @tab@word
|
||||||
echo @tab@word
|
echo @tab@word
|
||||||
echo@tab@@tab@word
|
echo@tab@@tab@word
|
||||||
echo @tab@ on @space@
|
echo @tab@ on @space@
|
||||||
|
@echo --- @ with chains and brackets
|
||||||
|
(echo the @ character chains until&&@echo we leave the current depth||(
|
||||||
|
echo hidden
|
||||||
|
@echo hidden
|
||||||
|
))&&echo and can hide brackets||(@echo command hidden)||@(echo brackets hidden)
|
||||||
|
@echo ---
|
||||||
|
|
||||||
@echo off
|
@echo off
|
||||||
echo off@tab@@space@
|
echo off@tab@@space@
|
||||||
|
|
|
@ -88,6 +88,13 @@ word
|
||||||
@tab@word
|
@tab@word
|
||||||
|
|
||||||
@pwd@>echo @tab@ on @space@@space@
|
@pwd@>echo @tab@ on @space@@space@
|
||||||
|
--- @ with chains and brackets
|
||||||
|
|
||||||
|
@todo_wine@@pwd@>(echo the @ character chains until && ) && echo and can hide brackets || () ||@space@
|
||||||
|
@todo_wine@the @ character chains until
|
||||||
|
@todo_wine@we leave the current depth
|
||||||
|
@todo_wine@and can hide brackets
|
||||||
|
@todo_wine@---
|
||||||
noecho1
|
noecho1
|
||||||
noecho2
|
noecho2
|
||||||
echo3
|
echo3
|
||||||
|
|
Loading…
Reference in New Issue