Community
Participate
Working Groups
bug 354893 seems to handle all characters correctly except for the newline. Solutions for escaping the newline, though, seem to depend on the particular shell used. For example, the following work as indicated (the comment indicates the type of the user's default shell and of /bin/sh, respectively): 1) /bin/sh -c 'echo $'\''\n'\''' #*/bash, not */dash 2) /bin/sh -c 'echo "a #any combination of dash and bash, not csh/* b"' 3) /bin/sh -c 'echo "a\ #csh/*, not bash/* b"'
Appears to be informational.