10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have a src code file where I need to uncomment many lines.
The lines I need to uncomment look like,
C CALL l_r(DESNAME,DESOUT, 'Gmax', ESH(10), NO_APP, JJ)
The comment is the "C" in the first column. This needs to be deleted so that there are 6 spaces preceding "CALL".... (7 Replies)
Discussion started by: LMHmedchem
7 Replies
2. Shell Programming and Scripting
Hello,
I have some tab delimited text data,
file: final_temp1
aname val
NAME;r'(1,) 3.28584
r'(2,)<tab>
NAME;r'(3,) 6.13003
NAME;r'(4,) 4.18037
r'(5,)<tab>
You can see that the data is incomplete in some cases. There is a trailing tab after the first column for each incomplete row. I... (2 Replies)
Discussion started by: LMHmedchem
2 Replies
3. Shell Programming and Scripting
In the bash below I am asking the user for a panel and reading that into bed. Then asking the user for a file and reading that into file1.Is the grep in bold the correct way to apply the selected panel to the file? I am getting a syntax error. Thank you :)
... (4 Replies)
Discussion started by: cmccabe
4 Replies
4. Shell Programming and Scripting
I would like to recover the data from 3 text tags.
These three markers are located between the tags specific location <tag1> and </tag1> knowing that they are in many places.
In File.txt:
<tag2>txt2</tag2>
<tag3>txt3</tag3>
<tag4>txt4</tag4>
....
<tag1>
<tag2>txt2</tag2>... (3 Replies)
Discussion started by: Amad
3 Replies
5. Shell Programming and Scripting
practicing perl now and hope to get uniq item from an array:
my current work:
#!/usr/local/bin/perl
my @source = ("aaa", "aaa", "bbb", "ccc", "ddd");
my $index=0;
my @uniq;
foreach (@source)
{
chomp;
# push first item to @uniq
if ($index == 0)
{
push @uniq, $_;
... (2 Replies)
Discussion started by: tiger2000
2 Replies
6. Shell Programming and Scripting
I have a combo.cgi here. this is linux environment
What i am going to do is this combobox will list down all the flatfile name in this /u/test/cgi-bin/List directory.
after that, i wanted it to open the flatfile and display the content of the flatfile into another listbox or textarea in this page... (0 Replies)
Discussion started by: chezy
0 Replies
7. Shell Programming and Scripting
Hi,
I am connecting to oracle database using perl. I want to redirect the selected output to file. I am not able to do that in Oracle.
Here is the code.
SQL> SELECT name INTO OUTFILE "/orahome/test.txt" FROM dummy;
*
ERROR at line 1:... (1 Reply)
Discussion started by: vanitham
1 Replies
8. Shell Programming and Scripting
i have a files in the dir as below.
ls -lR ./.snapshot
5649600512 ./.snapshot/backup/data20080707
6006923264 ./.snapshot/backup/data20080708
5321129984 ./.snapshot/backup/data20080709
6686597120 ./.snapshot/backup/data20080710
7312855040 ... (4 Replies)
Discussion started by: mail2sant
4 Replies
9. UNIX for Dummies Questions & Answers
How can I extract few lines(like 10 to 15, top 10 and last 10) from a file using perl.
I do it with sed, head and tail in unix scripting. I am new to perl. Appreciate your help. (2 Replies)
Discussion started by: paruthiveeran
2 Replies
10. Shell Programming and Scripting
Hi,
i want to list some files in the directory within selected period. for example, I want to list file within 5 days, 3 days, etc....is it possible? (1 Reply)
Discussion started by: happyv
1 Replies
Gtk2::MenuToolButton(3pm) User Contributed Perl Documentation Gtk2::MenuToolButton(3pm)
NAME
Gtk2::MenuToolButton - wrapper for GtkMenuToolButton
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Bin
+----Gtk2::ToolItem
+----Gtk2::ToolButton
+----Gtk2::MenuToolButton
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Gtk2::Activatable
METHODS
toolitem = Gtk2::MenuToolButton->new ($icon_widget, $label)
o $icon_widget (Gtk2::Widget or undef)
o $label (string or undef)
toolitem = Gtk2::MenuToolButton->new_from_stock ($stock_id)
o $stock_id (string)
$button->set_arrow_tooltip_markup ($markup)
o $markup (string or undef)
Since: gtk+ 2.12
$button->set_arrow_tooltip ($tooltips, $tip_text, $tip_private)
o $tooltips (Gtk2::Tooltips)
o $tip_text (string)
o $tip_private (string)
$button->set_arrow_tooltip_text ($text)
o $text (string or undef)
Since: gtk+ 2.12
widget or undef = $button->get_menu
$button->set_menu ($menu)
o $menu (Gtk2::Widget or undef)
PROPERTIES
'menu' (Gtk2::Menu : default undef : readable / writable / private)
The dropdown menu
SIGNALS
show-menu (Gtk2::MenuToolButton)
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::ToolItem, Gtk2::ToolButton
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.2 2012-05-27 Gtk2::MenuToolButton(3pm)