linux命令---查找文件中的内容 [yang@localhost ~]$ cat 1.txt |egrep '123456789|second'-------匹配123456789或者second的行 first line:123456789012345678901234567890123456789012345678901234567890 second line:one two three four five six seven eight nine ten [yang@localh
今天第一天写博客,写的不好请大家多多指教,废话不多说了,干货送上: ############################################################# #!/usr/bin/perl use warnings; use strict; my %hash; my $source_file=$ARGV[0]; #输入文件 my $dest_file = $ARGV[1];#输出文件 open (FILE,"<$source_file") or