summaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
authorEric Andersen2000-11-29 23:07:57 +0000
committerEric Andersen2000-11-29 23:07:57 +0000
commit9bd71e832343489bd53c5d2b454252614564787f (patch)
tree526c40fd7765d6007a603a9b0453436ead462011 /utility.c
parent8fff78d66ee5cc34dae71f89ee20e8215287132c (diff)
downloadbusybox-9bd71e832343489bd53c5d2b454252614564787f.zip
busybox-9bd71e832343489bd53c5d2b454252614564787f.tar.gz
Add "\r" to utility.c:process_escape_sequence() (from email about
"echo vs. optarg" from Larry Doolittle Tue, 28 Nov 2000 10:36:04 -0800) -Erik
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/utility.c b/utility.c
index c23ebcd..74e9332 100644
--- a/utility.c
+++ b/utility.c
@@ -1694,6 +1694,9 @@ char process_escape_sequence(char **ptr)
case 'n':
c = '\n';
break;
+ case 'r':
+ c = '\r';
+ break;
case 't':
c = '\t';
break;