10-14-2008
bijayant@bijayant ~ $ cat test
hi this is bijayant 17
Received message 17
17 Received message
18 Received message
19 Received message
Bijayant Received message
Bijayant 17 Received message
17 Received message
bijayant@bijayant ~ $ grep -i "17.Received message\|Received message.17" test
Received message 17
17 Received message
Bijayant 17 Received message
17 Received message
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi folks,
I have the following select function:
select_vs_plugin()
{
export VS_LIST=`cat VsList.lst`
while ]
do
echo
echo
echo ===================================================================
============
echo Please select Video Server Plugin
... (4 Replies)
Discussion started by: nir_s
4 Replies
2. Shell Programming and Scripting
The awk command awk -F: '{print $1}' test1 gives the first columns of all the lines in file ,is there some command to get a particular column from particular line .
Any help is appreciated.
thanks arif (4 Replies)
Discussion started by: mab_arif16
4 Replies
3. UNIX for Dummies Questions & Answers
Hi,
This is what the file data.lst contains.
aaaaaaaa eeeeeeeeeeeeeeee 4444444 rrrrrrrrrrrrr tttttttttttt
bbbbbbbb eeeeeeeeeeeeeeee 7777777 uuuuuuuu eeeeeeeee
qqqqqqqq gggggggggggggggg 6666666 oooooooo ppppppppp
Here I want to cut the third field and put it in a new file ... (15 Replies)
Discussion started by: preethgideon
15 Replies
4. Shell Programming and Scripting
Hi all,
I am new to awk programs.I have a file like this
vjfavhjlaf<LTEXT>aabcdfffvvbbxbcddjbv</LTEXT>fAFdfdADfd
vjfavhjlaf<LTEXT>aabcdfffvvbbxbcddjbv</LTEXT>fAFdfdADfd
vjfavhjlaf<LTEXT>aabcdfffvvbbxbcddjbv</LTEXT>fAFdfdADfd
vjfavhjlaf<LTEXT>aabcdfffvvbbxbcddjbv</LTEXT>fAFdfdADfd... (3 Replies)
Discussion started by: anju
3 Replies
5. Shell Programming and Scripting
Hi:
I have few rows in file..Like suppose...
9063C0 44 00051363603253033253347 3333 070248 06
9063C0 5G PAN00013
9063C0 44 00061030305040404250724 0506 100248 08
9063C0 43 01 00000089
I need to cut the row starting after... (5 Replies)
Discussion started by: grajesh_955
5 Replies
6. Shell Programming and Scripting
Hi folks,
I have a file with four columns that looks like the following (tab separated)
1 1 1 a
2 2 2 b
3 3 3 c
4 4 4 d
I would like to create a file with always 4 columns but where the third entry corresponds to the thirst entry of the next line and so on, to get the following
1 1 2 a... (4 Replies)
Discussion started by: klebsiella
4 Replies
7. Shell Programming and Scripting
Hi,
I am really new in the shell script, but it is really useful for me to learn.
I have one question,
I have a large text document (actually few of them), inside there are lines with information about energies, between 10 to 20 of this lines, varies from one doc to another one, my questions... (11 Replies)
Discussion started by: hmartine1983
11 Replies
8. Shell Programming and Scripting
Hi all,
Before I give up on using SELECT for my first attempt at creating a menu driven script, can anyone please advise if it is possible to include a line break for PS3, I've tried putting in a \n and it does not work.
Tried for both bash and ksh and both gives the same result. Preference... (3 Replies)
Discussion started by: newbie_01
3 Replies
9. Shell Programming and Scripting
Hai,
I want to select only line numbers into a file if some pattern matches. I have written my script like below but its not working.
#!/bin/sh
file='/home/testfile1'
filesearch='/home/test00'
while read line
do
search=`echo $line |cut -c 1-24`
echo $search
echo `grep -n ""... (3 Replies)
Discussion started by: Subbu123
3 Replies
10. UNIX for Beginners Questions & Answers
I cannot seem to get what should be a simple awk one-liner to work correctly and cannot figure out why. I would like to use patterns from a specific field in one file as regex to search for matching strings in the entire line ($0) of another file.
I would like to output the lines of File2 which... (1 Reply)
Discussion started by: jvoot
1 Replies
LEARN ABOUT SUSE
mail::spamassassin::plugin::spf
Mail::SpamAssassin::Plugin::SPF(3) User Contributed Perl Documentation Mail::SpamAssassin::Plugin::SPF(3)
NAME
Mail::SpamAssassin::Plugin::SPF - perform SPF verification tests
SYNOPSIS
loadplugin Mail::SpamAssassin::Plugin::SPF
DESCRIPTION
This plugin checks a message against Sender Policy Framework (SPF) records published by the domain owners in DNS to fight email address
forgery and make it easier to identify spams.
USER SETTINGS
whitelist_from_spf add@ress.com
Works similarly to whitelist_from, except that in addition to matching a sender address, a check against the domain's SPF record must
pass. The first parameter is an address to whitelist, and the second is a string to match the relay's rDNS.
Just like whitelist_from, multiple addresses per line, separated by spaces, are OK. Multiple "whitelist_from_spf" lines are also OK.
The headers checked for whitelist_from_spf addresses are the same headers used for SPF checks (Envelope-From, Return-Path, X-Envelope-
From, etc).
Since this whitelist requires an SPF check to be made, network tests must be enabled. It is also required that your trust path be
correctly configured. See the section on "trusted_networks" for more info on trust paths.
e.g.
whitelist_from_spf joe@example.com fred@example.com
whitelist_from_spf *@example.com
def_whitelist_from_spf add@ress.com
Same as "whitelist_from_spf", but used for the default whitelist entries in the SpamAssassin distribution. The whitelist score is
lower, because these are often targets for spammer spoofing.
ADMINISTRATOR OPTIONS
spf_timeout n (default: 5)
How many seconds to wait for an SPF query to complete, before scanning continues without the SPF result.
do_not_use_mail_spf (0|1) (default: 0)
By default the plugin will try to use the Mail::SPF module for SPF checks if it can be loaded. If Mail::SPF cannot be used the plugin
will fall back to using the legacy Mail::SPF::Query module if it can be loaded.
Use this option to stop the plugin from using Mail::SPF and cause it to try to use Mail::SPF::Query instead.
do_not_use_mail_spf_query (0|1) (default: 0)
As above, but instead stop the plugin from trying to use Mail::SPF::Query and cause it to only try to use Mail::SPF.
ignore_received_spf_header (0|1) (default: 0)
By default, to avoid unnecessary DNS lookups, the plugin will try to use the SPF results found in any "Received-SPF" headers it finds
in the message that could only have been added by an internal relay.
Set this option to 1 to ignore any "Received-SPF" headers present and to have the plugin perform the SPF check itself.
Note that unless the plugin finds an "identity=helo", or some unsupported identity, it will assume that the result is a mfrom SPF check
result. The only identities supported are "mfrom", "mailfrom" and "helo".
use_newest_received_spf_header (0|1) (default: 0)
By default, when using "Received-SPF" headers, the plugin will attempt to use the oldest (bottom most) "Received-SPF" headers, that
were added by internal relays, that it can parse results from since they are the most likely to be accurate. This is done so that if
you have an incoming mail setup where one of your primary MXes doesn't know about a secondary MX (or your MXes don't know about some
sort of forwarding relay that SA considers trusted+internal) but SA is aware of the actual domain boundary (internal_networks setting)
SA will use the results that are most accurate.
Use this option to start with the newest (top most) "Received-SPF" headers, working downwards until results are successfully parsed.
perl v5.12.1 2010-03-16 Mail::SpamAssassin::Plugin::SPF(3)