diff options
Diffstat (limited to 'src/tr.c')
-rw-r--r-- | src/tr.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -525,8 +525,9 @@ unquote (char const *s, struct E_string *es) } break; case '\0': - /* POSIX seems to require that a trailing backslash must - stand for itself. Weird. */ + error (0, 0, _("warning: an unescaped backslash " + "at end of string is not portable")); + /* POSIX is not clear about this. */ es->escaped[j] = false; i--; c = '\\'; |