USERS="me you jim joe sue"
for user in ${USERS}; do
rmuser -p $user
usrdir=`cat /etc/passwd|grep $user|awk -F":" '{ print $6 }'`
rm -fr `cat /etc/passwd|grep $user|awk -F":" '{ print $6 }'`
echo Deleting: $user '\t' REMOVING: $usrdir
done
This is for AIX ONLY!!! but easily ported to... (0 Replies)
Say I have a log file called is there a way to clean out certain files in this log by or when I go to VI this file it tells me and
I am guessing this means the file has become to large to append with VI so I was wondering if there was command with some argument to clean this out?
Thanks ... (6 Replies)
Hello all,
I have a crontab entry to clean up a file system once a week that is used as tmp directory.
00 12 * * 0 find /mytmp -mtime +2 -exec rm {} \;
The job starts ok but I always get an error message in mails because it is a file system and there is a directory lost+found that should... (1 Reply)
Hello *!
Just a short question. Where on the system i can find core files. I have one SUN server (Solaris 8) and from time to time I must clean core files on it. But i am not sure where i can find those files. Thank you in advance. :) (5 Replies)
Dear,
I have an input file and need to clean and get the following output:
ATM1/0/0,19072000,97848000
ATM1/0/1,18015000,83270000
ATM1/0/2,16879000,89491000
ATM1/0/3,21684000,122096000
Input file:
show interface ATM1/0/0 | inc rate
Interface ATM1/0/0 queueing strategy: PXF... (3 Replies)
Open to a sed/awk/or perl alternative so that i can stick command into my bash script.
This is a problem I resolve using a combination of cut commands - but that is getting convoluted. So would really appreciate it if someone could provide a better solution which basically replaces all... (3 Replies)
Hello,
I am trying to analyze data I recently ran, and the only way to efficiently clean up the data is by using an awk file.
I am very new to awk and am having great difficulty with it. In $8 and $9, for example, I am trying to delete numbers that contain 1.
I cannot find any tutorials that... (20 Replies)
Hi ,
I have the below source data, I need to clean the data in 2nd,4th,5th columns.
Source Data
RECORD,CASH_TRANS,BEJING,AUG2011/CASH_TRANS,Y/N150/CASH_TRANS,N/201108
RECORD,CASH_TRANS,INDIA,AUG2011/CASH_TRANS,Y/NC110/CASH_TRANS,N/201108... (7 Replies)
HI ,
I am getting the source data as below.
Source Data
CDR_Data,,,,,
F1,F2,F3,F4,F5,F6
5,5,6,7,8,7
6,6,g,,,
7,7,76,,,
8,8,gt,,,
9,9,df ,d,d,d
,,,,, (4 Replies)
I have some small problem with my code.
data.html
<TD class="statuscol2">c</TD>
<TD class="statuscol3">18</TD>
<TD class="statuscol4"><SPAN TITLE="#04">test4</SPAN></TD>
<TD... (4 Replies)
Discussion started by: Jotne
4 Replies
LEARN ABOUT SUSE
gtk2::table
Gtk2::Table(3) User Contributed Perl Documentation Gtk2::Table(3)NAME
Gtk2::Table
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Table
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
METHODS
widget = Gtk2::Table->new ($rows, $columns, $homogeneous=FALSE)
o $rows (integer)
o $columns (integer)
o $homogeneous (boolean)
$table->attach ($child, $left_attach, $right_attach, $top_attach, $bottom_attach, $xoptions, $yoptions, $xpadding, $ypadding)
o $child (Gtk2::Widget)
o $left_attach (integer)
o $right_attach (integer)
o $top_attach (integer)
o $bottom_attach (integer)
o $xoptions (Gtk2::AttachOptions)
o $yoptions (Gtk2::AttachOptions)
o $xpadding (integer)
o $ypadding (integer)
$table->attach_defaults ($widget, $left_attach, $right_attach, $top_attach, $bottom_attach)
o $widget (Gtk2::Widget)
o $left_attach (integer)
o $right_attach (integer)
o $top_attach (integer)
o $bottom_attach (integer)
integer = $table->get_col_spacing ($column)
o $column (integer)
$table->set_col_spacing ($column, $spacing)
o $column (integer)
o $spacing (integer)
$table->set_col_spacings ($spacing)
o $spacing (integer)
integer = $table->get_default_col_spacing
integer = $table->get_default_row_spacing
boolean = $table->get_homogeneous
$table->set_homogeneous ($homogeneous)
o $homogeneous (boolean)
$table->resize ($rows, $columns)
o $rows (integer)
o $columns (integer)
integer = $table->get_row_spacing ($row)
o $row (integer)
$table->set_row_spacing ($row, $spacing)
o $row (integer)
o $spacing (integer)
$table->set_row_spacings ($spacing)
o $spacing (integer)
PROPERTIES
'column-spacing' (Glib::UInt : readable / writable / private)
The amount of space between two consecutive columns
'homogeneous' (boolean : readable / writable / private)
If TRUE, the table cells are all the same width/height
'n-columns' (Glib::UInt : readable / writable / private)
The number of columns in the table
'n-rows' (Glib::UInt : readable / writable / private)
The number of rows in the table
'row-spacing' (Glib::UInt : readable / writable / private)
The amount of space between two consecutive rows
ENUMS AND FLAGS
flags Gtk2::AttachOptions
o 'expand' / 'GTK_EXPAND'
o 'shrink' / 'GTK_SHRINK'
o 'fill' / 'GTK_FILL'
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container
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::Table(3)