01-11-2016
Thanks a lot Ravinder ,
Also I need one small change in the Output.
In case of Drive bays and Summary Status of Contained Modules we need to have the following column : Value as well and output should look like below
<tr><td>Drive Bays</td><td>Value</td></td>
<tr><td>Summary Status of Contained Modules</td><td>Value</td></tr>
Could you also please explain me the code.
Thanks
Rahul
Edit : I got the value (column) as well after adding making small change in the code
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to generate a report with below file :
File1 :
EQADM,edrtere9-phys,8122caef0,gpatmon,/bin/ksh,nuten Erick
EQADM,edrtere11-phys,8227caef0,gpatmon,/bin/ksh,nuten Erick
EQADM,edrtere3-phys,822caef0,gpatmon,/bin/ksh,nuten Erick
can you help me convert it to html and add... (9 Replies)
Discussion started by: sriram003
9 Replies
2. Shell Programming and Scripting
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)
Discussion started by: sarbjit
1 Replies
3. Shell Programming and Scripting
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)
Discussion started by: a12ka4
6 Replies
4. Shell Programming and Scripting
Friends,
I am trying to convert my local server timezone EST to UTC and for which I used the TZ command, see below
$ date
Thu Dec 6 10:14:14 EST 2012
$
$ TZ=UTC date -d '10:14 EST'
Thu Dec 6 15:14:00 UTC 2012
Now I would like to have the same output in 'yyyymmdd hh:mm' format.
... (4 Replies)
Discussion started by: vivek_damodaran
4 Replies
5. Shell Programming and Scripting
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)
Discussion started by: vijay_rajni
5 Replies
6. Shell Programming and Scripting
Hi,
I am running two scripts as below.
In Script 1 i am getting correct output in proper HTML format while in script 2 i am not getting output in mail and only html code is getting printed.I want to get the output of script 2.
Please guide.
1.IFILE=/home/home01/Report.csv
if #Checks... (7 Replies)
Discussion started by: Vivekit82
7 Replies
7. Shell Programming and Scripting
Please provide script/commands to convert text file to HTML tabular format.
No need of styles and colours, just output and a heading in table is required.
Output file will be send via email and will be seen from outlook.
(script required without using awk).
output file content: (sar... (7 Replies)
Discussion started by: Veera_V
7 Replies
8. Shell Programming and Scripting
Hi Experts,
Anybody out there figure out on how to achieve in shell scripts or tools. I have done googling to find solutions but no luck.
I have thousands of .txt files to batch process, please see the below sample text content after -------- start here --------. What I want to achieve is to... (10 Replies)
Discussion started by: lxdorney
10 Replies
9. Shell Programming and Scripting
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)
Discussion started by: sarajobmai
8 Replies
10. Shell Programming and Scripting
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 DEBIAN
gnome2::vfs::drive
Gnome2::VFS::Drive(3pm) User Contributed Perl Documentation Gnome2::VFS::Drive(3pm)
NAME
Gnome2::VFS::Drive - Container around Gnome2::VFS::Volume
HIERARCHY
Glib::Object
+----Gnome2::VFS::Drive
METHODS
string = $drive->get_activation_uri
integer = $a->compare ($b)
o $b (Gnome2::VFS::Drive)
string = $drive->get_device_path
devicetype = $drive->get_device_type
string = $drive->get_display_name
$drive->eject ($func, $data=undef)
o $func (scalar)
o $data (scalar)
string = $drive->get_hal_udi
Since: vfs 2.8
string = $drive->get_icon
unsigned = $drive->get_id
boolean = $drive->is_connected
boolean = $drive->is_mounted
boolean = $drive->is_user_visible
$drive->mount ($func, $data=undef)
o $func (scalar)
o $data (scalar)
list = $drive->get_mounted_volumes
Since: vfs 2.8
boolean = $drive->needs_eject
Since: vfs 2.16
$drive->unmount ($func, $data=undef)
o $func (scalar)
o $data (scalar)
SIGNALS
volume-mounted (Gnome2::VFS::Drive, Gnome2::VFS::Volume)
volume-pre-unmount (Gnome2::VFS::Drive, Gnome2::VFS::Volume)
volume-unmounted (Gnome2::VFS::Drive, Gnome2::VFS::Volume)
ENUMS AND FLAGS
enum Gnome2::VFS::DeviceType
o 'unknown' / 'GNOME_VFS_DEVICE_TYPE_UNKNOWN'
o 'audio-cd' / 'GNOME_VFS_DEVICE_TYPE_AUDIO_CD'
o 'video-dvd' / 'GNOME_VFS_DEVICE_TYPE_VIDEO_DVD'
o 'harddrive' / 'GNOME_VFS_DEVICE_TYPE_HARDDRIVE'
o 'cdrom' / 'GNOME_VFS_DEVICE_TYPE_CDROM'
o 'floppy' / 'GNOME_VFS_DEVICE_TYPE_FLOPPY'
o 'zip' / 'GNOME_VFS_DEVICE_TYPE_ZIP'
o 'jaz' / 'GNOME_VFS_DEVICE_TYPE_JAZ'
o 'nfs' / 'GNOME_VFS_DEVICE_TYPE_NFS'
o 'autofs' / 'GNOME_VFS_DEVICE_TYPE_AUTOFS'
o 'camera' / 'GNOME_VFS_DEVICE_TYPE_CAMERA'
o 'memory-stick' / 'GNOME_VFS_DEVICE_TYPE_MEMORY_STICK'
o 'smb' / 'GNOME_VFS_DEVICE_TYPE_SMB'
o 'apple' / 'GNOME_VFS_DEVICE_TYPE_APPLE'
o 'music-player' / 'GNOME_VFS_DEVICE_TYPE_MUSIC_PLAYER'
o 'windows' / 'GNOME_VFS_DEVICE_TYPE_WINDOWS'
o 'loopback' / 'GNOME_VFS_DEVICE_TYPE_LOOPBACK'
o 'network' / 'GNOME_VFS_DEVICE_TYPE_NETWORK'
SEE ALSO
Gnome2::VFS, Glib::Object
COPYRIGHT
Copyright (C) 2003-2007 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2::VFS for a full notice.
perl v5.14.2 2011-11-15 Gnome2::VFS::Drive(3pm)