X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fmkhelp.pl;h=7ed86f7cd784e354dda8953167a4bff96fee68da;hb=7b6dca47a42828c0ae87eab0d8b68f97d1495b67;hp=088a09a06a13d258aedef1ef792272549925599b;hpb=8a08705db260779441360e959b97b6c172f8acb0;p=platform%2Fupstream%2Fcurl.git diff --git a/src/mkhelp.pl b/src/mkhelp.pl index 088a09a..7ed86f7 100644 --- a/src/mkhelp.pl +++ b/src/mkhelp.pl @@ -54,9 +54,6 @@ while () { # this should be removed: $line =~ s/(.|_)//g; - # remove trailing CR from line. msysgit checks out files as line+CRLF - $line =~ s/\r$//; - if($line =~ /^([ \t]*\n|curl)/i) { # cut off headers and empty lines $wline++; # count number of cut off lines @@ -93,12 +90,7 @@ open(READ, "<$README") || die "couldn't read the README infile $README"; while() { - my $line = $_; - - # remove trailing CR from line. msysgit checks out files as line+CRLF - $line =~ s/\r$//; - - push @out, $line; + push @out, $_; } close(READ);