Leser: 1
|< 1 2 >| | 11 Einträge, 2 Seiten |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/perl
use warnings;
use strict;
use diagnostics;
open(F, "script.pl") || die "Unable to open: 'script.pl'!\n$!";
my $data = join("",<F>);
close(F);
$data =~ s/[\n\r]/\n/g;
open(F, "> script.pl") || die "Unable to open: 'script.pl'!\n$!";
print F $data;
close(F);
perl -i.bak -pe 's/\r\n/\n/g' script.pl
|< 1 2 >| | 11 Einträge, 2 Seiten |