Sign in

Echo / T3212_B2B_723 · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Forks
  • Network
  • T3212_B2B_723
  • tools
  • splitfile.pl
  • 从SVN移版本:T3212_61D_MBR_V1.8_2015.07.23(B32B)的代码
    c17ddead
    Echo authored
    2017-09-04 11:43:42 +0800  
    Browse Files »
splitfile.pl 275 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

$afile=$ARGV[0];
$ifile=$ARGV[1];
#print "$afile\n";
$str = `type $ifile`;
#print "$str\n";
#$str =~ s/ /\n/g;
#print "$str\n";
@outstr=split(/ /,$str);
open NEWF,">$afile";
foreach (@outstr) {
	next if ($_!~ m/^\-[DI]/);
	print NEWF "$_\n";
}
#print NEWF $str;
close NEWF;