repo.or.cz
/
rmh3093.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lajdlksadlmla
[rmh3093.git]
/
project1
/
data
/
fix.pl
blob
1b937fc28f585598b621720a284232cbb53db641
1
#!/usr/local/bin/perl
2
use
strict
;
3
4
my
@files
=
glob
"*.wl"
;
5
foreach
my
$file
(
@files
) {
6
open
IN
,
"<
$file
"
;
7
my
@lines
= <
IN
>;
8
close
IN
;
9
10
my
$lines
=
@lines
;
11
open
OUT
,
">
$file
"
;
12
print
OUT
"
$lines
\n
"
;
13
print
OUT
@lines
;
14
15
close
OUT
;
16
}