Hi there,
I need to split one huge file into separate files if the condition is fulfilled according to that the position between 97 and 98 matches with “IT” at the segment MAS. There is no delimiter file is fix-width with varous line length.
Could you please help me how I do split the file... (1 Reply)
Hello
Can someone guide me how to extract bulk emails into a single flat file ?
We receive mails (approx 1K daily ).
I want the contents of the emails for 'current date' to be dumped into one single text file.
Please help. (1 Reply)
Hi ,
a:) i have configuration file with pattren
<Range start no>,<Range end no>,<type of records to be extracted from the data file>,<name of the file to store output>
eg:
myfile.confg
9899000000,9899999999,DATA,b.dat
9899000000,9899999999,SMS,a.dat
b:) Stucture of my data file is... (3 Replies)
hey guys. I'm trying to create a command file that moves my emails to a specified folder according to a keyword that is in the subject.
like move emails with "hey" in the subject to a folder that exists in my mail folder named "hey". how do I go about that? thanx. (9 Replies)
Here is a data file, which I believe is in YAML. I am trying to retrieve just the 'addon_domains" section, which doesnt seem to be as easy as I had originally thought. Any help on this would be greatly appreciated!! I have been trying to do this in awk and mostly bash scripting instead of perl... (3 Replies)
Hi All:
I have following files:
File 1:
<header>
text...
text ..
text ..
text ..
<\header>
x
y
z
...
File 2:
<header>
text...
text ..
text .. (4 Replies)
i have applied the following command on a file named unix.txt that contains the string "linux from the text"
grep -n -i -w "linux from the text" unix.txt
and the result is
5:Today's Linux from the text systems are split into various branches, developed over time by AT&T as well as various... (5 Replies)
Hi
I am trying to extract information out of a file but keep getting grep cant open errors
the code is below:
#bash
#extract orders with blank address details
#
# obtain the current date
# set today to the current date ccyymmdd format
today=`date +%c%m%d | cut -c24-31`
echo... (8 Replies)
Dear All,
I have two files but want to extract data from one based on another... can you please help me
file 1
David
Tom
Ellen
and file 2
David|0010|testnamez|resultsz
David|0004|testnamex|resultsx
Tom|0010|testnamez|resultsz
Tom|0004|testnamex|resultsx
Ellen|0010|testnamez|resultsz... (12 Replies)
Hi Folks ,
I am asking this question but i apologise please if this is not the correct forum ,
I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies
LEARN ABOUT DEBIAN
log::agent::driver::mail
Agent::Driver::Mail(3pm) User Contributed Perl Documentation Agent::Driver::Mail(3pm)NAME
Log::Agent::Driver::Mail - email driver for Log::Agent
SYNOPSIS
use Log::Agent;
require Log::Agent::Driver::Mail;
my $driver = Log::Agent::Driver::Mail->make(
-to => 'oncall@example.org',
-cc => [ qw( noc@example.org admin@example,net ) ],
-subject => "ALERT! ALERT!",
-mailer => [ 'smtp', Server => 'mail.example.net' ]
);
logconfig(-driver => $driver);
DESCRIPTION
This driver maps the logxxx() calls to email messages. Each call generates a separate email message. The Mail::Mailer module is required.
CONSTRUCTOR
make OPTIONS
The OPTIONS argument is a hash with the following keys:
-prefix An optional prefix for the message body.
-to The destination addresses, may be a scalar containing a valid email address or a reference to an array of addresses.
-reply_to
The reply-to addresses, may be a scalar containing a valid email address or a reference to an array of addresses.
-from The source address, must be a scalar containing a valid email address.
-subject
The subject line of the email message.
-cc The carbon copy addresses, may be a scalar containing a valid email address or a reference to an array of addresses.
-bcc The blind carbon copy addresses, may be a scalar containing a valid email address or a reference to an array of addresses.
-priority
The priority level for the email message. This is NOT related to the logging priority.
-mailer A reference to an array containing the optional arguments to Mail::Mailer->new(). Generally, this can be omitted.
NOTES
Thanks to Shirley Wang for the idea for this module.
AUTHOR
Mark Rogaski <mrogaski@pobox.com>
LICENSE
Copyright (C) 2002 Mark Rogaski; all rights reserved.
See Log::Agent(3) or the README file included with the distribution for license information.
SEE ALSO
Mail::Mailer, Log::Agent::Driver(3), Log::Agent(3).
perl v5.10.0 2002-05-12 Agent::Driver::Mail(3pm)