Search Results

Search: Posts Made By: PerlNewbRP
2,523
Posted By birei
Ok. Now I understand. Try this version...
Ok. Now I understand.

Try this version (change paths to your particular case):

$ cat script.pl
use warnings;
use strict;

push @ARGV, qw(
./FileA.log
./FileB.log
);
...
2,523
Posted By birei
One way: $ head File[AB].log ==> FileA.log...
One way:

$ head File[AB].log
==> FileA.log <==
Application, This occured blah
Application, That occured blah
Application, Also this
AnotherLog, Bob did this
AnotherLog, Dave did that

==>...
Showing results 1 to 2 of 2

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