Search Results

Search: Posts Made By: anushree.a
2,342
Posted By Aia
Got Perl? #!/usr/bin/perl use strict; ...
Got Perl?

#!/usr/bin/perl
use strict;
use warnings;

my $sep = $/ = "== :: ==\n";
my $pattern = "Permanent";
my $hat = 0;

while(<>) {
if(/$pattern/){
print $sep if $hat == 0...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 05:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy