Hi ,
I have a file as below.
Contents of the file are
--------------------
aaaaaaaaaaa
aaaaaaaaaaa
aaaaaaaaaaa
aaaaaaaaaaa
aaaaaaaaaaa
bbbbbbbbbbb
ccccccccccc
ddddddddddd
aaaaaaaaaaa
aaaaaaaaaaa
aaaaaaaaaaa
aaaaaaaaaaa
aaaaaaaaaaa
bbbbbbbbbbb (4 Replies)
Where to start... I am a system administrator who didn't think he would ever be one. My first work was on Window 2000 as a tech(hardware, installs, stuff like that). Then we got Macs (I work in photography and Videography). The I was sent to Mac cert school. Set up a Mac Xserve and about 100... (2 Replies)
Hi All,
I am using ingres in perl
select count(*) rec from user_tables where table_name = 'abc';
I want to use the alias variable 'rec' and check the value if >0 insert values else create table.
How can I do this without using hash variables in perl.
Kindly help me in this regard.
Much... (1 Reply)
Hi,
I work on sun Solaris. Am hosting few web services on my server which are accessed over the internet. Now to check whether the web service is responding or not, i first have to log in to the web service URL. If it doesn't respond there, i come back to my server box and restart the service... (4 Replies)
Hi
i'm working with mpi programs every thing ok
but i need after i compile the mpi to calc the area of the rectangle for example (not my program)
accept two arguments from the command line:
mpirun -n 4 myprog 24 100
here 24 and 100 two arguments i'll pass them to the program
how can... (1 Reply)
Hi guys
I am trying to perform a substitution using 'awk' command, but it fails.
I work in ksh. Here is my code:
$ line="F 18:30 10 23:00 ts1632back"
$ n="ts1632back"
$ m="18:45"
$ echo ${line} | nawk -v a=$n -v b=$m '{if ($5==a) $2=m; print }'
F 10 23:00 ts1632back
$It should've... (2 Replies)
Hi experts,
Please help me on the below:
how to write a shell script to search and delete files on windows server.
-script runs on unix box
-it should search for specific files on windows server and delete them periodically. (1 Reply)
Hello Experts..
I have 3-4 C codes with Oracle SQL statements embedded. All the SQL statements starts with EXEC SQL keyword and ends with ;. I want to extract all the SQL statements out of these codes.
I did awk '/^EXEC SQL/,/\;/' inputFile (I use this on all of the codes individually). That... (2 Replies)
Hello All,
I recently encountered this difficulty in processing a File.
Input File has millions of records with fields like below
ID1,ID2,DATE,FLAG,VAL
123,432,0604,1,-0.5
123,432,0604,22,0.5
123,433,0604,1,-0.54
123,433,0604,22,6.77
123,543,0605,22,0.94
To put this simply, I will have... (8 Replies)
Discussion started by: PikK45
8 Replies
LEARN ABOUT DEBIAN
mail::message::wrapper::spamassassin
Mail::Message::Wrapper::SpamAssassin(3pm) User Contributed Perl Documentation Mail::Message::Wrapper::SpamAssassin(3pm)NAME
Mail::Message::Wrapper::SpamAssassin - Connect a Mail::Message with Mail::SpamAssassin
INHERITANCE
Mail::Message::Wrapper::SpamAssassin
is a Mail::SpamAssassin::Message
SYNOPSIS
# WARNING: requires OLD SpamAssassion 2.x, not the new 3.x
# See Mail::Box::Search::SpamAssassin for the preferred interface
# However, it is possible to do:
my $msg = ...; # some Mail::Message object
my $sa = Mail::Message::Wrapper::SpamAssassin->new($msg);
my $spam = Mail::SpamAssassin->new;
my $status = $spam->check($sa);
$msg->label(spam => 1) if $status->is_spam;
$status->rewrite_mail; # Adds spam lines to header
DESCRIPTION
WARNING: This module only works with the old version of SpamAssassin: version 2.x. The newer 3.x releases have changed the way that
messages are kept. Please contribute improved code.
The "Mail::Message::Wrapper::SpamAssassin" class --sorry for the long package name-- is a wrapper around Mail::SpamAssassin::Message, which
is an interface to the spam checking software of Mail::SpamAssassin.
METHODS
Mail::Message::Wrapper::SpamAssassin->new(MESSAGE, OPTIONS)
Creates a wrapper around the MESSAGE. The already present fields from a previous run of Spam::Assassin (or probably fake lines) are
removed first.
SEE ALSO
This module is part of Mail-Box distribution version 2.105, built on May 07, 2012. Website: http://perl.overmeer.net/mailbox/
LICENSE
Copyrights 2001-2012 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See
http://www.perl.com/perl/misc/Artistic.html
perl v5.14.2 2012-05-07 Mail::Message::Wrapper::SpamAssassin(3pm)