It s giving correct results but the only issue is as u said the spacing between .
So when I am trying to paste result in excel the spacing between words being separated into columns like
below data contain 9 or morecolumns but it should come in just 6 columns
For example:
for first row:
1 column for CHRM1
2 column for P1129
3 xolumn for Pirenzepine
4 column for DAP000492
5 column for Peptic ulcer disease( not 3 different columns)
6 column for approved
Hey,
I am using 'find' to check the existence of a file which is created today, and this is what I have
find . -name $filename -mtime +0 -exec ls {} \;
my problem is I need to know what the above command actually get anything, so can anyone give me some pointer on how to do... (1 Reply)
Well I have a 3000 lines result log file that contains all the machine data when it does the testing... It has 3 different section that i am intrsted in
1) starting with "20071126 11:11:11 Machine Header 1"
1000 lines...
"End machine header 1"
2) starting with "20071126 12:12:12 Machine... (5 Replies)
Perl Guru....
I need to compare two diff file (file1.abc will locate in current server and file2.abc will locate in remote server), basically the script will look for match in both file and only will send out email if there is no match and also give me list of unmatch and dups as well.
So... (0 Replies)
Hi All,
I have a below file:
==================
02:53 pravin-root
02:53 pravin-root
03:05 pravin-root
02:55 pravin1-root
02:59 pravin1-root
==================
How do I find the first and last value of column 1. For example, how do I find 02:53 is the first time stamp and 03:05 is... (3 Replies)
When searching for some files which match some specific criteria with find from the root directory, I got a listing of a bunch of files that say "Permission Denied". How can do my search and not show the files that I don't have the permission to list?
Thanks, (3 Replies)
Hi
I want to compare 2 files. The files have the same amount of rows and columns. So each line must be compare against the other and if one differs from the other, the result of both must be stored in a seperate file.
I am doing this in awk.
Here is my file1:
Blocks... (2 Replies)
Hi,
I have two input files; file1 and file2. I compare them based on matched values in 1 column and print selected columns of the second file (file2). I got the result but the header was not printed. i want the header of file2 to be printed together with the result. Then i did below codes:-
... (3 Replies)
i run command that return this result,example :
gigabitethernet2/2/4:NotPresent, gigabitethernet2/1/17:UP, gigabitethernet2/1/10:UP, gigabitethernet2/1/5:UP,
gigabitethernet2/1/9:UP, gigabitethernet2/1/36:DOWN, gigabitethernet2/1/33:DOWN, gigabitethernet2/1/8:UP,... (19 Replies)
Hi All,
I have transaction in one file.I want to match that to another file and find the number of time the transaction is available on the other file.I need to take each record from TRANSFILE and match that with SPEND FILE and find the number of counts of the transaction
TRANSFILE:
... (4 Replies)
We have 100 linux servers, All send logs to both centralize server(server1 and serverb).
all send logs every day and stores in /syslog folder with hostname.log file.
I need to prepare script to check every day from both centralize server(server1 and serverb) and send mail in table format.
... (1 Reply)
Discussion started by: yash_message
1 Replies
LEARN ABOUT DEBIAN
mailpost
MAILPOST(8) InterNetNews Documentation MAILPOST(8)NAME
mailpost - Feed an e-mail message into a newsgroup
SYNOPSIS
mailpost [-hn] [-a addr] [-b database] [-c wait-time] [-d distribution] [-f addr] [-m mailing-list] [-o output-command] [-p port] [-r addr]
[-x header[:header...]] newsgroups
DESCRIPTION
The mailpost program reads a properly formatted e-mail message from stdin and feeds it to inews for posting to a news server. newsgroups
is a whitespace-separated list of group names to which to post the article (at least one newsgroup must be specified).
Before feeding the article to inews, it checks that the article has not been seen before, and it changes some headers (cleans up some
address headers, removes X-Trace: and X-Complaints-To:, and puts "X-" in front of unknown headers).
If the article has been seen before (mailpost records the Message-ID of each article it handles), then the article will be dropped with a
non-zero error status. Other errors will cause the article to be mailed to the newsmaster (selected at configure time and defaulting to
"usenet").
Normally, mailpost is run by sendmail(8) via an alias entry:
local-mail-wreck-bikes: "|<pathbin in inn.conf>/mailpost
-b /var/tmp -d local local.mail.rec.bicycles.racing"
Instead of /var/tmp, the mail spool directory can be specified, or any other directory where the mailpost process has write access.
OPTIONS -a addr
If the -a flag is used, the value given is added to the article as an Approved: header.
-b database
If the -b flag is used, then it defines the location of the database used to store the Message-IDs of articles sent on. This is to
prevent articles looping around if a news-to-mail gateway sends them back here. This option may be required if the mailpost process
does not have write access to the news temporary directory. The default value is pathtmp as set in inn.conf.
-c wait-time
The -c flag indicates a length of time to sleep before posting. If duplicate messages are received in this interval (by any instance
of mailpost using the same database), the article is only posted once, but with Newsgroups: header modified to crosspost the article to
all indicated groups. The units for wait-time are seconds; a reasonable value may be anywhere from tens to hundreds of seconds, or
even higher, depending on how long mail can be delayed on its way to your system.
-d distribution
If the -d flag is used, the value given is added to the article as a Distribution: header.
-f addr
The -f flag is a synonym for the -r flag.
-h Print usage information and exit.
-m mailing-list
If the -m flag is used, the value given is added to the article in a Mailing-List: header, if such a header doesn't already exist.
-n If the -n flag is used, neither an article is posted nor a mail is sent in case an error occurs. Everything is written to the standard
output.
-o output-command
Specifies the program to which the resulting article processed by mailpost should be sent. For debugging purpose, "-o cat" can be
used. The default value is "inews -S -h".
-p port
Specifies the port on which nnrpd is listening, used for article posting. If given, -p is passed along to inews.
-r addr
A heuristic is used to determine a reasonable value for the Path: header. The -r flag indicates what to use if no other value can be
determined.
-x header[:header...]
A colon-separated list of additional headers which should be treated as known headers; these headers will be passed through to inews
without having "X-" prepended.
Known headers are:
Approved
Content-*
Date
Distribution
From
Mailing-List
Message-ID
MIME-*
References
Return-Path
Sender
Subject
FILES
pathbin/mailpost
The Perl script itself used to feed an e-mail message to a newsgroup.
pathtmp/mailpost-msgid.dir and pathtmp/mailpost-msgid.pag
The default database files which record previously seen Message-IDs.
HISTORY
Written by Paul Vixie long ago and then hacked up by James Brister for INN integration.
$Id: mailpost.in 9409 2012-05-28 18:43:20Z iulius $
SEE ALSO active(5), inews(1), inn.conf(5), nnrpd(8), uwildmat(3).
INN 2.5.3 2012-06-15 MAILPOST(8)