Hi All,
I am new to this forum,not sure where to post this query...so posted here
Kindly need any of your help on the below
------------
I am using shell scripting and trying to convert a csv file to html file...
example.csv
---------------
Name Country Age Sex
Andy India 25 ... (4 Replies)
Hi
Written some script to convert csv to html but could not add table headers.Below are the errors iam getting
./csv2html | more
+ awk -v border=1 -v width=10 -v bgcolor=black -v fgcolor=white
BEGIN { printf("<table border=\"%d\" bordercolor=\"%s\" width=\"%d\"... (2 Replies)
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)
Hi,
I have made a a script which creates a csv file as daily database report
However i want to covert that csv file to html because csv file does not have a good visibilty.
So it is possible to have such csv to html coversion script.
Your prompt help much appreciated. Thanks in advance (4 Replies)
Hi Team,
i have some script which give output in TXT format , need script to convert TXT file into CSV.
Output.TXT
413. U-UU-LVDT-NOD-6002 macro_outcome_dist-8.0.0(v1_0_2) KK:1.2.494 (1234:333:aaa:2333:3:2:333:a)
414. U-UU-LVDT-NOD-6004 ... (10 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)
I am new to html and need to convert the attached csv file data to html format ; running into issues. please assist.
#!/bin/ksh
echo "<html>" ;
echo "<head><style> table {border-collapse: collapse;} table, td, th {border: 1px solid black;} </style></head>"
echo "<title> REPORT </title>"
echo... (0 Replies)
Discussion started by: archana25
0 Replies
LEARN ABOUT HPUX
dtprintresetconnection
DtPrintResetConnection(library call) DtPrintResetConnection(library call)
NAME
DtPrintResetConnection -- resets the print display connection managed by a DtPrintSetupBox
SYNOPSIS
#include <Print.h>
XtEnum DtPrintResetConnection(
Widget wid,
DtPrintResetConnectionMode mode);
DESCRIPTION
The DtPrintResetConnection function is a convenience function provided by the DtPrintSetupBox widget that allows applications to direct the
widget to stop managing the X print server connection. A mode parameter is included in order to direct the widget to close the print con-
nection by calling XpDestroyPrintContext and XCloseDisplay or to simply relinquish control of the connection without closing it.
DtPrintResetConnection is intended to be used by applications that fork a child process to perform the print rendering operation. Immedi-
ately after the fork is performed, the parent process will close its X print server connection, and retain its connection to the video X
server. The forked child on the other hand will close its video X server connection and perform the rendering operation on the X print
server connection.
ARGUMENTS
wid The DtPrintSetupBox widget ID.
mode Indicates whether DtPrintResetConnection should close the X print server connection, or simply cause the DtPrintSetupBox to cease
managing the connection.
Valid values are:
DtPRINT_CLOSE_CONNECTION
Set by the parent process when the application forks a child to perform the print rendering. This will cause the
DtNclosePrintDisplayCallback list set for the passed DtPrintSetupBox to be called.
DtPRINT_RELEASE_CONNECTION
Set when the application wishes to destroy the DtPrintSetupBox widget instance and still perform print rendering using
the X print server connection initiated by the widget. For example, the child process of an application that forks to
perform print rendering will close the video display connection (thereby destroying the DtPrintSetupBox widget) prior
to print rendering. No DtPrintSetupBox callbacks will be called as a result of this operation.
RETURN VALUE
DtPRINT_SUCCESS
DtPrintResetConnection was successful.
DtPRINT_NO_CONNECTION
An open X print server connection is not currently being managed by the DtPrintSetupBox.
DtPRINT_BAD_PARM
The value passed for wid is NULL, or an invalid mode was passed.
ENVIRONMENT VARIABLES
None.
RESOURCES
None.
ACTIONS /MESSAGES
None.
ERRORS /WARNINGS
None.
EXAMPLES
None.
FILES
None.
SEE ALSO DtPrintSetupBox(3)
DtPrintResetConnection(library call)