diff options
author | Jim Meyering <jim@meyering.net> | 2004-05-13 07:27:10 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-05-13 07:27:10 +0000 |
commit | 62f51917b8444f901695b96896bc347fff61d3c9 (patch) | |
tree | 1abf75cb99dbeb77dfc1b902ca0ed5629f128f55 /src | |
parent | 179af74c1a2a52b4dfc852054e43656850a1df61 (diff) | |
download | coreutils-62f51917b8444f901695b96896bc347fff61d3c9.tar.xz |
(unquote, make_printable_str): Use e.g. '\a' rather than '\007',
for portability to EBCDIC hosts.
Diffstat (limited to 'src')
-rw-r--r-- | src/tr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -494,7 +494,7 @@ unquote (const unsigned char *s, struct E_string *es) c = '\\'; break; case 'a': - c = '\007'; + c = '\a'; break; case 'b': c = '\b'; @@ -643,7 +643,7 @@ make_printable_str (const unsigned char *s, size_t len) case '\\': tmp = "\\"; break; - case '\007': + case '\a': tmp = "\\a"; break; case '\b': |