PracticeDev/study_perl/re/3re.pl

7 lines
100 B
Perl
Raw Normal View History

2022-12-20 17:31:11 +08:00
#!/usr/bin/perl
foreach $line (<>){
chomp $line; # 去掉行尾分隔符
print "$line";
}