Last change
on this file since 3607 was 3320, checked in by Bruno Cornec, 10 years ago |
- Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in
the move to 3.0
|
-
Property svn:executable
set to
*
|
File size:
396 bytes
|
Rev | Line | |
---|
[3320] | 1 | test "$CONFIG_FEATURE_FANCY_ECHO" = "y" || exit 77
|
---|
| 2 |
|
---|
| 3 | TEST=Q
|
---|
| 4 | # \` is special
|
---|
| 5 | echo `echo '\'TEST\`echo ZZ\`BEST`
|
---|
| 6 | # \$ and \\ are special
|
---|
| 7 | echo `echo \\$TEST`
|
---|
| 8 | echo `echo \$TEST`
|
---|
| 9 | echo a`echo \\\\b`c
|
---|
| 10 |
|
---|
| 11 | # \" is not special if in unquoted `cmd` (passed verbatim WITH \),
|
---|
| 12 | # but is special in quoted one
|
---|
| 13 | echo `echo 11'-$a-\t-\\-\"-\`-\--\z-\*-\?-'22` "`echo 33'-$a-\t-\\-\"-\`-\--\z-\*-\?-'44`"
|
---|
| 14 | echo done:$?
|
---|
Note:
See
TracBrowser
for help on using the repository browser.