in reply to Re: passing newline in string argument
in thread passing newline in string argument

But what if someone actually wants to provide the two characters \n?

Special_K, just for completeness, here's one common way - however, as we both said, this is only a workaround with its own caveats, and the problem should be fixed in the shell instead!