Hi,
I need idea about this, say I have this line:
05 21 * * 0,6 /user/clean.desktop.sh > /tmp/desktop_rpt 2>&1
I would need to grep the word desktop and display the /user/clean.desktop.sh and not the whole line. And if I have some more lines say,
05 21 * * 0,6 /user/clean.desktop.sh >... (1 Reply)
Hi,
When we "grep" for a word in a file, it returns the lines containing the word that we searched for. Is there a way to display only the words and not the entire line containing them.
Thanks
Ananth (6 Replies)
Hi Guru's.... I've one log file in all my systems which writes the backup information..
I'have written a command like this:
ssh -l ora${sid} ${primaryhost} "tail -50 /oracle/$ORACLE_SID/newbackup/END_BACKUP.log" |grep 'insert' |tail -1| awk '{print $7}'
We have nearly 50 systems in our... (2 Replies)
hi, consider the below line in a text file,
'Y',getdate(),'N','V',NULL .....
'N',getdate(),'Y','D',NULL .....
'Y','N','Y',getdate(),'Y','D',NULL ....
as u see above, i want only the second word after the getdate() word...
getdate() will not come 2nd word alwys it may be any position but i... (11 Replies)
Hi guys.
I am trying to perform a search using grep. I get my grep to work, but need to "awk" a Process Number that is 2 lines above...
Example:
I run a query on my TSM server for Processes that are "Waiting" for something...it returns this:
Process Number: 32,881
Process... (14 Replies)
ok, so this is proving to be kind of difficult even though it should not be.
say for instance I want to grep out ONLY the word fkafal from the below output, how do I do it?
echo ajfjf fjfjf iafjga fkafal foeref afoafahfia | grep -w "fkafal"
If i run the above command, i get back all the... (4 Replies)
Hi all,
FileOne
family balance >>>>>
0 0
0 0
java.io.FileNotFoundException: Settings.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
..
....
.....
.....
java.lang.NullPointerException
...
.....
......
Stacktrace:
at... (2 Replies)
Hi,
Below is an example :
ST1 PREF: int1 AVAIL: int2
ST2 PREF :int1 AVAIL: int2
I need int1 to come in preferred variable while programming and int2 in available variable
Please help me doing so
Best regards,
Vishal (10 Replies)
Hi,
I wanted to grep string "ERROR" and "WORNING" after last occurrence of String "Starting" only and wanted to display two lines after searched ERROR and WORNING string and one line before. I have following cronjob log file "errorlog" file and I have written the code for same in Unix as below... (17 Replies)
Hi,
When we "grep" for a word in a file, it returns the last lines containing the word that we searched for.
Is there a way to display last line to grep.
Thanks
Ex log.
Ex. logname.log
2015-07-29 06:43:07.023|BETA |2015-07-29... (5 Replies)
Discussion started by: ooilinlove
5 Replies
LEARN ABOUT SUSE
gtk2::rcstyle
Gtk2::RcStyle(3) User Contributed Perl Documentation Gtk2::RcStyle(3)NAME
Gtk2::RcStyle
HIERARCHY
Glib::Object
+----Gtk2::RcStyle
METHODS
rcstyle = Gtk2::RcStyle->new
color = $style->base ($state, $new=undef)
o $state (Gtk2::StateType)
o $new (Gtk2::Gdk::Color or undef)
color = $style->bg ($state, $new=undef)
o $state (Gtk2::StateType)
o $new (Gtk2::Gdk::Color or undef)
scalar = $style->bg_pixmap_name ($state, $new=undef)
o $state (Gtk2::StateType)
o $new (string or undef)
rcflags = $style->color_flags ($state, $new=0)
o $state (Gtk2::StateType)
o $new (Gtk2::RcFlags)
rcstyle = $orig->copy
color = $style->fg ($state, $new=undef)
o $state (Gtk2::StateType)
o $new (Gtk2::Gdk::Color or undef)
scalar = $style->font_desc ($new=undef)
o $new (scalar)
scalar = $style->name ($new=undef)
o $new (scalar)
color = $style->text ($state, $new=undef)
o $state (Gtk2::StateType)
o $new (Gtk2::Gdk::Color or undef)
scalar = $style->xthickness ($new=undef)
o $new (scalar)
scalar = $style->ythickness ($new=undef)
o $new (scalar)
ENUMS AND FLAGS
flags Gtk2::RcFlags
o 'fg' / 'GTK_RC_FG'
o 'bg' / 'GTK_RC_BG'
o 'text' / 'GTK_RC_TEXT'
o 'base' / 'GTK_RC_BASE'
enum Gtk2::StateType
o 'normal' / 'GTK_STATE_NORMAL'
o 'active' / 'GTK_STATE_ACTIVE'
o 'prelight' / 'GTK_STATE_PRELIGHT'
o 'selected' / 'GTK_STATE_SELECTED'
o 'insensitive' / 'GTK_STATE_INSENSITIVE'
SEE ALSO
Gtk2, Glib::Object
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::RcStyle(3)