On Sun, 28 Apr 2013 18:44:23 +0000, Pavel Elkind <elk...@chalmers.se> wrote:
> Dear developers, > > I found the following potential bug in printf (version 8.17). > > Actual result: > `printf "\\n"` prints a newline caracter. > > Expected result: > `printf "\\n"` prints a sequence of two individual characters, '\' and > 'n', like '\n', but not a newline character. > > Please address the above issue, printf '\\n' is what you want. Printf has nothing to do with this, it's the shell that interpolates \\ when it's in double quotes. -- D.