I need help converting a text file into a html table in bash and I need to email this table. The text file looks like the below. Two columns with multiple rows. Top row being header.
Any help would be greatly appreciated
Last edited by Don Cragun; 02-04-2016 at 09:12 PM..
Reason: Add CODE tags.
I have a short time to solve a problem, so I need some help. I've searched the forum, but I couldn't find a solution to my problem.
I made a script to filter some text and now I have a new requirement to make it available as html table. Problem is that I more than one files with different set... (2 Replies)
Hi,
I have a text file say file1 having data like
ABC c:/hm/new1 Dir
DEF d:/ner/d sd
......
So i want to make a table from this text file, is it possible to do it using perl.
Thanks in advance
Sarbjit (1 Reply)
Hi,
I have script which generates the output as below:
Jobname Date Time Status
abc 12/9/11 17:00 Completed
xyz 13/9/11 21:00 Running
I have the output as a text file. I need to convert it into a HTML Table and sent it thru email
... (6 Replies)
ssmtp has been running well under Kubuntu 12.04.1 for plain text messages. I would like to send html messages with ssmtp -t < /path/to/the/message.txt, but I cannot seem to get the message.txt file properly formatted. I have tried various charsets,
Content-Transfer-Encoding, rearranging the... (0 Replies)
I have output.txt file generated through shell scripts which need convert in tabular format using html
can you please help me
output.txt
Token State Date1 Date2 Description Name
34567 open 27/06/13 28/06/13 ... (5 Replies)
Hi ,
I have a sql query in the unix script ,whose output is shown below.I want to convert this output to HTML table format & send email from unix with this table as email body.
p_id src_system amount
1 A 100
2 B 200
3 C ... (3 Replies)
I am using Sun Solaris ver. 5.10 and trying to send an HTML table in email body using mail command in C shell script.
I tried following commands:-
#1
mail -m "MIME-Version: 1.0;Content-type:text/html;charset=UTF-8" receiver@mail.com < file.html #2
mail -m "Content-type: text/html;" -s "This... (4 Replies)
Hello All,
I have a query here. I am sending an HTML table(which I am creating it by a call to REST API, in a LINUX box) and from there I have to send it into an email. So following are the poins on same:
As data is not static so it is writing Dynamic data and creating HTML file.
There is... (9 Replies)
My concnern related to the post
-Convert shell script output txt file to html table,
in this how to print the heading as color.
awk 'BEGIN{print "<table>"} {print "<tr>";for(i=1;i<=NF;i++)print "<td>" $i"</td>";print "</tr>"} END{print "</table>"}' <filename> (8 Replies)
Hello,
I'm trying to send email from Greenplum query results as HTML table with status Red/Green
Select Server, Last_Date from Table;
Results
Server, Last_Date
Prod, 2018-04-09
Final email Output in HTML format
Server Status LastDate
Prod GREEN(BOX) 2018-04-09 (if... (2 Replies)
Discussion started by: krux_rap
2 Replies
LEARN ABOUT DEBIAN
jifty::plugin::classloader
Jifty::Plugin::ClassLoader(3pm) User Contributed Perl Documentation Jifty::Plugin::ClassLoader(3pm)NAME
Jifty::Plugin::ClassLoader - Automatically generates application classes
DESCRIPTION
"Jifty::Plugin::ClassLoader" loads additional model and action classes on behalf of the application out of the configured plugin classes.
Unlike, "Jifty::ClassLoader", this class will only autogenerate classes if the plugin provides them. The plugin classes are checked before
the base Jifty classes, so that a plugin can override the Jifty class, just as any existing application classes will be loaded first.
new
Returns a new ClassLoader object. Doing this installs a hook into @INC that allows Jifty::Plugin::ClassLoader to dynamically create needed
classes if they do not exist already. This works because if use/require encounters a blessed reference in @INC, it will invoke the INC
method with the name of the module it is searching for on the reference.
Takes two mandatory arguments, "base", which should be the application's base path; and "plugin" which is the plugin classname.
INC
The hook that is called when a module has been "require"'d that cannot be found on disk. The following stub classes are auto-generated:
Application
An empty application base class is created that doesn't provide any methods or inherit from anything.
Application::Record
An empty class that descends from Jifty::Record is created.
Application::Collection
An empty class that descends from Jifty::Collection is created.
Application::Notification
An empty class that descends from Jifty::Notification.
Application::Dispatcher
An empty class that descends from Jifty::Dispatcher.
Application::Bootstrap
An empty class that descends from Jifty::Bootstrap.
Application::Upgrade
An empty class that descends from Jifty::Upgrade.
Application::CurrentUser
An empty class that descends from Jifty::CurrentUser.
Application::Model::AnythingCollection
If "Application::Model::Something" is a valid model class, then it creates a subclass of Jifty::Collection whose "record_class" is
"Application::Model::Something".
Application::Action::(Create or Update or Delete)Anything
If "Application::Model::Something" is a valid model class, then it creates a subclass of Jifty::Action::Record::Create,
Jifty::Action::Record::Update, or Jifty::Action::Record::Delete whose record_class is "Application::Model::Something".
require
Loads all of the application's Actions and Models. It additionally "require"'s all Collections and Create/Update actions for each Model
base class -- which will auto-create them using the above code if they do not exist on disk.
DESTROY
When the ClassLoader gets garbage-collected, its entry in @INC needs to be removed.
perl v5.14.2 2010-12-08 Jifty::Plugin::ClassLoader(3pm)