Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Merge Text with space into once cell and send email out Post 303041522 by lpoolfc on Tuesday 26th of November 2019 04:06:24 PM
Old 11-26-2019
Thanks all for you help. I fixed it by just adding
Code:
set markup html on entmap off table 'BORDER="2" '

to my sql file. That was the only thing I was missing
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unable to send eMail from a UNIX-Host ( using mailx ) to a Outlook-email-addres(Win)

Hi A) I am able to send eMail using mailx from a UNIX ( solaris 8 ) host to my Outlook-email-ID : FName.Surname@Citigroup.com ( This is NOT my actual -eMail-ID). But in Outlook the "From :" eMail address is displayed as " usr1@unix-host1.unregistered.email.citicorp.com " .i.e the words... (2 Replies)
Discussion started by: Vetrivela
2 Replies

2. Shell Programming and Scripting

shell script to send email with usage of space in the directory as description :

shell script to send email with usage of space in the directory as description : Please any one help me in writing a script to send email with usage of space in the directory as description . (3 Replies)
Discussion started by: sakthifire
3 Replies

3. UNIX for Dummies Questions & Answers

File need to send to xls as one complete cell

Hi every one, I have a file of ten lines in unix i want to send the file to my mail as .xls and the clause over here is it should send in only one cell .. I am aware of uuencode rest rest.xls | mail -s "testing" mailid But this would send me data into seperate cells (5 Replies)
Discussion started by: rakesh_pagadala
5 Replies

4. Shell Programming and Scripting

Check space of directories and send email if it has reached threshold limit

Hi, I need help in writing unix script for checking space of some directories on the system and also send an email when it reaches the threshold limit. I have written the followng code; #!/bin/ksh ADMIN="me@somewhere.com" # set alert level 80% is default THRESHOLD=80 df | grep -E... (5 Replies)
Discussion started by: jmathew99
5 Replies

5. Shell Programming and Scripting

Script to send email after comparing the folder permissions to a certain permission & send email

Hello , I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them . I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies

6. UNIX for Dummies Questions & Answers

new to ldap, send email to a ou or group, and see a list from email client

hi, i'm running openldap on ubuntu 10.04, creating new items with apache directory studio (windows version). i use the ldap just as an address book to our small office (email clients are windows live mail 2009, 2011, microsoft outlook 2007 and 2010). a. i cant see a list of the contacts,... (0 Replies)
Discussion started by: V4705
0 Replies

7. Shell Programming and Scripting

How to read specific line of text from a Script and send email notification

Hi ! I am a newbie and never officially wrote a shell script before. The requirement for this script is : 1) Read a file called 'bpm.log' and identify if it has a specific text such as 'this is the text'. Its a static value and that is the only text we need to read. 2) If that... (2 Replies)
Discussion started by: atechcorp
2 Replies

8. UNIX for Dummies Questions & Answers

Need help combining txt files w/ multiple lines into csv single cell - also need data merge

:confused:Hello -- i just joined the forums. I am a complete noob -- only about 1 week into learning how to program anything... and starting with linux. I am working in Linux terminal. I have a folder with a bunch of txt files. Each file has several lines of html code. I want to combine... (2 Replies)
Discussion started by: jetsetter
2 Replies

9. Shell Programming and Scripting

Read a file, add some text and send an email

Hi, If I am asking this question, you must have already figured out , that I am new to Unix, so here it goes I was trying to read a file, add some user defined content to it and send out an email , I did find out a way to achieve this, but looking at the code, it looks a bit crude to me, can... (3 Replies)
Discussion started by: karthikbhuvana
3 Replies

10. Shell Programming and Scripting

Send Disk Space Usage Status via email

Hi Guys, Is there any way I can write a script that sends DISK SPACE USAGE STATUS via email once a week? Thanks, (5 Replies)
Discussion started by: g4v1n
5 Replies
Gtk2::CellLayout(3)					User Contributed Perl Documentation				       Gtk2::CellLayout(3)

NAME
Gtk2::CellLayout SYNOPSIS
# This is an abstract interface; the CellLayout interface is # implemented by concrete classes like ComboBox and TreeViewColumn. # See the discussion for details on creating your own CellLayout. # This synopsis assumes you already have an instance in $cell_layout. # Add a cell renderer that shows the pixbuf in column 2 of the # associated TreeModel. It will take up only the necessary space # ("expand" => FALSE). my $cell = Gtk2::CellRendererPixbuf->new (); $cell_layout->pack_start ($cell, FALSE); $cell_layout->add_attribute ($cell, pixbuf => 2); # Add another cell renderer that gets the "text" property from # column 3 of the associated TreeModel, and takes up all remaining # horizontal space ("expand" => TRUE). my $cell = Gtk2::CellRendererText->new (); $cell_layout->pack_start ($cell, TRUE); $cell_layout->add_attribute ($cell, text => 3); DESCRIPTION
Gtk2::CellLayout is an interface to be implemented by all objects which want to provide a Gtk2::TreeViewColumn-like API for packing cells, setting attributes and data funcs. HIERARCHY
Glib::Interface +----Gtk2::CellLayout METHODS
$cell_layout->add_attribute ($cell, $attribute, $column) o $cell (Gtk2::CellRenderer) o $attribute (string) o $column (integer) Adds an attribute mapping to the list in $cell_layout. The $column is the column of the model from which to get a value, and the $attribute is the property of $cell to be set from the value. So, for example, if column 2 of the model contains strings, you could have the "text" attribute of a Gtk2::CellRendererText get its values from column 2. $cell_layout->set_attributes ($cell, ...) o $cell (Gtk2::CellRenderer) o ... (list) list of property name and column number pairs. Sets the pairs in the ... list as the attributes of $cell_layout, as with repeated calls to "add_attribute". All existing attributes are removed, and replaced with the new attributes. $cell_layout->set_cell_data_func ($cell, $func, $func_data=undef) o $cell (Gtk2::CellRenderer) o $func (scalar) o $func_data (scalar) Sets up $cell_layout to call $func to set up attributes of $cell, instead of the standard attribute mapping. $func may be undef to remove an older callback. $func will receive these parameters: $cell_layout The cell layout instance $cell The cell renderer to set up $model The tree model $iter TreeIter of the row for which to set the values $data The $func_data passed to "set_cell_data_func" list = $cell_layout->get_cells Fetch all of the cell renderers which have been added to $cell_layout. Since: gtk+ 2.12 $cell_layout->clear Unsets all the mappings on all renderers on $cell_layout and removes all renderers attached to it. $cell_layout->clear_attributes ($cell) o $cell (Gtk2::CellRenderer) Clears all existing attributes previously set with for $cell with "add_attribute" or "set_attributes". $cell_layout->pack_end ($cell, $expand) o $cell (Gtk2::CellRenderer) o $expand (boolean) Like "pack_start", but adds from the end of the layout instead of the beginning. $cell_layout->pack_start ($cell, $expand) o $cell (Gtk2::CellRenderer) o $expand (boolean) Packs $cell into the beginning of $cell_layout. If $expand is false, then $cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which $expand is true. $cell_layout->reorder ($cell, $position) o $cell (Gtk2::CellRenderer) o $position (integer) Re-insert $cell at $position. $cell must already be packed into $cell_layout. CREATING A CUSTOM CELL LAYOUT
GTK+ provides several CellLayout implementations, such as Gtk2::TreeViewColumn and Gtk2::ComboBox. To create your own object that implements the CellLayout interface and therefore can be used to display CellRenderers, you need to add Gtk2::CellLayout to your class's "interfaces" list, like this: package MyLayout; use Gtk2; use Glib::Object::Subclass Gtk2::Widget::, interfaces => [ Gtk2::CellLayout:: ], ; This will cause perl to call several virtual methods with ALL_CAPS_NAMES when GTK+ attempts to perform certain actions. You simply provide (or override) those methods with perl code. The methods map rather directly to the object interface, so it should be easy to figure out what they should do. Those methods are: PACK_START ($cell_layout, $cell, $expand) PACK_END ($cell_layout, $cell, $expand) CLEAR ($cell_layout) ADD_ATTRIBUTE ($cell_layout, $cell, $attribute, $column) SET_CELL_DATA_FUNC ($cell_layout, $cell, $func, $data) CLEAR_ATTRIBUTES ($cell_layout, $cell) REORDER ($cell_layout, $cell, $position) list = GET_CELLS ($cell_layout) SEE ALSO
Gtk2, Glib::Interface COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.12.1 2010-07-05 Gtk2::CellLayout(3)
All times are GMT -4. The time now is 05:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy