We will chomp() lines so REG_NEWLINE does not break stuff. Thanks, Matt.

This commit is contained in:
Mark Whitley 2001-05-14 19:44:44 +00:00
parent 35e59bed97
commit 9de2659264
2 changed files with 2 additions and 0 deletions

View File

@ -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;

1
sed.c
View File

@ -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;