05-03-2011
Try sending the email as html, not plain text.
My html emails display as you want; my plain text emails wrap.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys,
I need a help. I am pretty new to the shell level programing. I was trying to split a long lines to a multiple lines with few conditions. I goggle for the code and found some snippets and tried to modified it but I got few strange problems too.
I have to split the lines if line is ... (3 Replies)
Discussion started by: dd_sh
3 Replies
2. Shell Programming and Scripting
Hi,
I am a newbie to both Linux and this forum.
I was trying to pull out the data from a database but it is not showing up in the multiple lines, with my limited knowledge i linux u tried to format this but wasn't exactly getting what i wanted.
The screenshot below shows my problem.
... (2 Replies)
Discussion started by: Ninjaa
2 Replies
3. Shell Programming and Scripting
Hi all
I have a file with these lines
good
gone
home
What code do you need to put this on one line like this
good gone home (2 Replies)
Discussion started by: hawaiifiver
2 Replies
4. Shell Programming and Scripting
When a file generated by a shell script is sent as a mail (not an attachment), in MS Outlook, single lines of the file are displayed as two/three lines (as the lines are long). Is there a way to make each line to be displayed in 'single line with scroll bar' to enable viewing of the long line?
... (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
5. Shell Programming and Scripting
I am fetching a database table in spool file and send that details as a email.
The Spooled file content is properly being displayed in UNIX.
See Example below :
ID|FILENAME |ABCDEF_DT |PROCESSED_DT |STATUS... (4 Replies)
Discussion started by: Ravi_007
4 Replies
6. Shell Programming and Scripting
example:
comment Now_TB.table column errac is for error messages
1 - first
2 - second
3 -third ;
in this example I need to be able to grab the comment as first word and ; as the last word and it might span a few lines. I need it to be put all in one line without line breaks so I can... (4 Replies)
Discussion started by: wambli
4 Replies
7. Shell Programming and Scripting
Hi guys,
So i have a input file with several sequences aligned (fasta)
>NC_005930 241 bp
MNMINIFIINNIFDQFIPVKLSIFSLTSVGSIIA
LSWVWINTKTHWAISRSNTP-SLLLNSL
WTLLITNL-NEKTNPWAPWLFSLFLLCFSFNIMSLI-PYTF-SQ
TSHLSFTFGLSLPIWIMVNIAGFKNNWKKKISHLLPQGTPIYLVPVMII
IETISLFIQPLTLGFRLGANLLAGHLLIFLCSCTIWE... (6 Replies)
Discussion started by: andreia
6 Replies
8. Shell Programming and Scripting
Dear Help,
I have been encountering a strange problem.
When I run a shell script, I do expect the output number of lines to be 12000 and it runs fine on one my linux w/s.But it just terminate at line 2704 on another linux machine.
I have put 'nedit text.file' at the last part of the script,... (5 Replies)
Discussion started by: Indra2011
5 Replies
9. Shell Programming and Scripting
Hi all,
i need help to extract each first line from multiple lines occurrences based on different patterns (name) starting from the fourth lines like follows:-
// header 1 header 2 header 3
// no acc name score rank
//... (2 Replies)
Discussion started by: redse171
2 Replies
10. Shell Programming and Scripting
This is actually a KSH under Unix System Services (Z/OS), but hoping I can get a standard AIX/KSH solution to work...
I have a very large, single line file in Windows, that we download via FTP, with the "SITE WRAP" option, into a Z/OS file with an LRECL of 200. This essentially breaks the single... (4 Replies)
Discussion started by: bubbawuzhere
4 Replies
LEARN ABOUT DEBIAN
lire::outputjob
OutputJob(3pm) LogReport's Lire Documentation OutputJob(3pm)
NAME
Lire::OutputJob - Object used to represent a configured formatting of a report
SYNOPSIS
use Lire::OutputJob;
use Lire::OutputFormat;
my $email = new Lire::OutputJob( 'email', $output, $output_cfg,
'emails' => [ 'email@domain.org' ] );
$email->run( 'report.xml' );
my $file = new Lire::OutputJob( 'file', $output, $output_cfg,
'filename' => '/var/www/reports/daily-%Y%m%d' );
$file->run( 'report.xml' );
DESCRIPTION
The Lire::OutputJob objects are used to represent how a report should formatted. These objects are most often created from the Lire
configuration. (The 'output_jobs' specification.)
new( $destination_type, $format, $format_cfg, ... );
Create a new Lire::OutputJob object. Two parameters are required:
$destination_type
Can be either 'email' or 'file'.
$format
A Lire::OutputFormat object.
$format
The configuration data that will be passed to the OutputFormat object.
The method will returns an instance of Lire::EmailOutputJob or Lire::FileOutputJob.
format
Returns the Lire::OutputFormat associated with this OutputJob.
format_cfg
Returns the configuration data that will be used when formatting the report.
run( $report_file )
Formats and sends or save the XML report $report_file according the OutputJob parameters.
Lire::EmailOutputJob
Extra parameters for 'email' type
emails
An array reference to the emails that will receive the formatted report.
subjet
The subject of the email.
extra_file
An additional text file that will be appended to text report or attach to other report types.
emails()
Returns as an array the emails to which the report will be sent.
subject()
Returns the subject of the email.
extra_file()
Returns the filename that will be appended to the text report or attach to the message for other report's type.
Lire::FileOutputJob
Extra parameters for 'file' type.
file
A file path with possible strftime(3pm) interpolation. This will be were the formatted report will be saved.
file()
Returns this OutputJob destination file.
output_file( [$time] )
Returns the destination file with strftime(3) specifier interpolated.
SEE ALSO
Lire::ReportJob(3pm) Lire::OutputFormat(3pm)
AUTHOR
Francis J. Lacoste <flacoste@logreport.org>
VERSION
$Id: OutputJob.pm,v 1.8 2006/07/23 13:16:29 vanbaal Exp $
COPYRIGHT
Copyright (C) 2004 Stichting LogReport Foundation LogReport@LogReport.org
This file is part of Lire.
Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with
http://www.gnu.org/copyleft/gpl.html.
Lire 2.1.1 2006-07-23 OutputJob(3pm)