Categories
Q & A Q & A Code

⨘ } extract a pattern from file – perl

#!/usr/bin/perl use strict; use warnings; open my $FH, ‘<‘, $ARGV[1] or die “Could not open file: $ARGV[1] $!\n”; open my $EXT_FH, ‘>’, $ARGV[2] or die “Could not open file: $ARGV[2] $!\n”; while (my $line = <$FH>){ if ($line =~ /cabist|tap|fscan|fbscan|dangle) print $EXT_FH $line; } close $FH; close $EXT_FH;  1,607 total views,  10 views today

 1,607 total views,  10 views today

Categories
Computer Programming Computing

Computer Programming } 003 } C++ } Abstraction mechanisms }

This video lecture discusses C++ data abstraction mechanisms. Abstract classes, concrete classes and templates are discussed. You may subscribe { Leprofesseur } YouTube channel for latest videos. If you need private consultation/lessons you may contact at hr@leprofesseur.org Sincerely, H.  3,766 total views,  2 views today

 3,766 total views,  2 views today