Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Misleading error in tr/// when including a # character #2118
Misleading error message for # in a tr/TR.
The error message indicates "Please backslash # for literal char or put whitespace in front for comment".
However, adding a backslash just generates the same error message.
I'm not entirely sure what the proper behavior of a backslash in a TR should be. When working on #2117, I was trying to generate errors based on unrecognized backslash sequences to test the PR, but was not able to trigger that condition.
My expectations (which may be wrong) would be that either the backslash in front of # should work and quiet this error or the error message should be changed.
Steps to Reproduce