Start 1.33.0 development cycle
[oweals/busybox.git] / shell / hush_test / hush-parsing / comment2.tests
1 echo "`echo Ok1 #comment is ignored`"
2 echo `echo Ok2 #comment is ignored`
3 #
4 # Surprisingly, bash does not handle comments in $()
5 # the same way as in ``. "#" causes the rest of the line, _including_ )",
6 # to be ignored. These lines would cause an error:
7 #echo "$(echo Ok3 #comment is ignored)"
8 #echo $(echo Ok4 #comment is ignored)
9 #
10 echo "$(echo Ok5 #comment is ignored
11 )"
12 echo $(echo Ok6 #comment is ignored
13 )