diff options
author | Mark Whitley <markw@lineo.com> | 2001-05-14 23:44:44 +0400 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2001-05-14 23:44:44 +0400 |
commit | 9de265926498000ae7adc016a25e3af0d249db79 (patch) | |
tree | cc9a66bd7e3be2401b3e66246f4b65da4d79f54d /sed.c | |
parent | 35e59bed9750e2672af11bf3f30093d5e5bd1777 (diff) |
We will chomp() lines so REG_NEWLINE does not break stuff. Thanks, Matt.
Diffstat (limited to 'sed.c')
-rw-r--r-- | sed.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -677,6 +677,7 @@ static void process_file(FILE *file) /* go through every line in the file */ while ((line = get_line_from_file(file)) != NULL) { + chomp(line); linenum++; line_altered = 0; |