# comment-p.sh: test of comments for any POSIX-compliant shell posix="true" test_OE 'comment without command' # # foo # bar # # ##foo ### __IN__ test_oE 'comment ending with backslash' # \ echo foo __IN__ foo __OUT__ test_oE 'comment in simple command' v=abc sh -c 'echo $v "$@"' # 0 1 2 3 echo 123 # 456 # 789; echo xyz