Is there a way that i can get something like this to work:
Number=`expr 80 \* 10.69`
i.e. To multiply an integer by a decimal or a decimal by a decimal etc...?
thanks (10 Replies)
Hi
On solaris, when I press Ctrl+S on an XTERM, the window normally freezes. But today on the same machine, the Ctrl+S key results in (i-search) !! I understand that it has got something to do with emacs (may be not). But I do not use emacs at all. Other specific keys including <backspace>,... (3 Replies)
Hello,
i am using expect to automate file transfers to and fro with a sftp server.
below is the script i am creating and executing in the main program.
but i am getting the following error:
the main program that creates and runs this script looks for words like "not found" in... (6 Replies)
Hi,
I am trying to find if there is a way to convert regular decimal values to Paced decimal values. I tried to find a c program but I could get a Packed converted to regular decimal not the other way round.
If not unix please let me know if any other progrimming language I can use to do... (2 Replies)
I am trying to set up a two host cluster. trouble is with the cluster transport configuration.
i'm using e1000g2 and g3 for the cluster transport. global0 and global1 are my two nodes, and I am running the scinstall from global1.
i think i should be expecting, is this:
The following... (19 Replies)
Hi All,
I run Linux server that hosts PHP/MySQL web-projects.
The problem is that it becomes irresponsive periodically, avg. load rapidly goes up to 100.0 and more and I have to do cold reboot.
Usually this sudden increase happens in 1-2 mins and it's very difficult to catch this moment in... (0 Replies)
hi guys i have a file in this location
/home/test/Summary.txt - this file contants is a below
./log_SI-100.lst:Error detected, rollbacking ./log_SI-101.lst:Error detected, rollbacking ./log_SI-106.lst:Error detected, rollbacking
i use this command to get the log file names inside it ... (2 Replies)
Hi everyone,
I have a data.xml file which only contains thousands of data (tag) blocks. A part of the file looks exactly like this;
<data>
Line
Line
Line
</data>
<data>
Line
Line
Line
</data>
the rest of the file is simply a repetition of this part. Here each data block contains a... (8 Replies)
Sometimes it is handy to protect long scripts in C++.
The following syntax works fine for simple commands:
#define SHELLSCRIPT1 "\
#/bin/bash \n\
echo \"hello\" \n\
"
int main ()
{
cout <<system(SHELLSCRIPT1);
return 0;
}
Unfortunately for there are problems for:
1d arrays:... (10 Replies)
Trying to do so
echo "111:222:333" |awk -F: '{system("export TESTO=" $2)}'But it doesn't work (2 Replies)
Discussion started by: urello
2 Replies
LEARN ABOUT DEBIAN
mail::spamassassin::autowhitelist
Mail::SpamAssassin::AutoWhitelist(3pm) User Contributed Perl Documentation Mail::SpamAssassin::AutoWhitelist(3pm)NAME
Mail::SpamAssassin::AutoWhitelist - auto-whitelist handler for SpamAssassin
SYNOPSIS
(see Mail::SpamAssassin)
DESCRIPTION
Mail::SpamAssassin is a module to identify spam using text analysis and several internet-based realtime blacklists.
This class is used internally by SpamAssassin to manage the automatic whitelisting functionality. Please refer to the "Mail::SpamAssassin"
documentation for public interfaces.
METHODS
$meanscore = awl->check_address($addr, $originating_ip, $signedby);
This method will return the mean score of all messages associated with the given address, or undef if the address hasn't been seen
before.
If $originating_ip is supplied, it will be used in the lookup.
awl->count();
This method will return the count of messages used in determining the whitelist correction.
awl->add_score($score);
This method will add half the score to the current entry. Half the score is used, so that repeated use of the same From and IP address
combination will gradually reduce the score.
awl->add_known_good_address($addr);
This method will add a score of -100 to the given address -- effectively "bootstrapping" the address as being one that should be
whitelisted.
awl->add_known_bad_address($addr);
This method will add a score of 100 to the given address -- effectively "bootstrapping" the address as being one that should be
blacklisted.
perl v5.14.2 2011-06-06 Mail::SpamAssassin::AutoWhitelist(3pm)