07-26-2013
@kashif.live:
We want to have users evolve and try to learn, not overly get their jobs done by others. That's why we ask for. That it isn't the exact solution in your other threads is quite clear.
Also start using code tags, not html tags when you post code, data or logs etc.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I'm trying to write a script that reads filenames from a file and use these filenames in a loop. The filenames are all on one line and the problem is that these filenames have wildcards like * and braces like in them.
Right now what I'm doing is something like this:
echo "reading from... (0 Replies)
Discussion started by: warp17
0 Replies
2. Shell Programming and Scripting
Hi
Im MZ.... please help me with my requirements.....
Requirement: I have a text file named information.txt which contains information about Oracle Instances, I want to fetch data's from that text file and want to display an output using shell script.
Explanation : i.e. when I execute that... (0 Replies)
Discussion started by: user__user3110
0 Replies
3. Shell Programming and Scripting
i get a name from user first name : last name, in this format. Now i am saving this to a file. what i want is, I do not want to save any name if I already have one entry o that same name..what should i do
for example
user give robert fernandez
this will save in file as robert:fernandez.
if... (5 Replies)
Discussion started by: Learnerabc
5 Replies
4. Shell Programming and Scripting
Hi All,
I am trying to read a .csv file which has some 6 columns.
Eg: samp.csv
one, two, three, four
six, seven, eight, nine
I used the following code,
for line in `cat samp.csv`
do
echo "$line"
done
It displays every comma seperated values in each line like,
one,... (1 Reply)
Discussion started by: johnwilliams.sp
1 Replies
5. Shell Programming and Scripting
I have a file that has four values on each line and I'd like to give each column a variable name and then use those values in each step of a loop. In bash, I believe you could use a while loop to do this or possibly a cat command, but I am super new to programming and I'm having trouble decoding... (2 Replies)
Discussion started by: ccorder22
2 Replies
6. Shell Programming and Scripting
I am having a text file
best = 100
genre = 75
group = 53
.
.
and so on
I need to read those values (100,75,53,...) from my shell script. I have to do the same function for all the variables. So in my script i used for loop to do the same.
for {
a=best
b=100
}
Video tutorial on... (3 Replies)
Discussion started by: kishorekumar87
3 Replies
7. 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
8. UNIX for Beginners Questions & Answers
Hi all,
Given here under a section of a script I am using.
SIMDIR="/home/Ins/forces"
cd $SIMDIR
for file in `ls *.forces`
do
basename=`echo $file | sed 's/\.*$//'`
extname=`echo $file | sed 's/*\(*\)\.\(.*\)/\2\1/'`
echo "Processing file: "$basename
python convert.py... (4 Replies)
Discussion started by: Theo Score
4 Replies
9. Shell Programming and Scripting
Hello, I have a file in the following format
id sample platform R1 R2 gene1 gene2 gene3
1 abc llumina R1_001.fastq.gz R2_001.fastq.gz apoe prnpp asp
2 def llumina R1_001.fastq.gz R2_001.fastq.gz apoe prnpp
3 ghi llumina ... (3 Replies)
Discussion started by: nans
3 Replies
10. Programming
Hello Team,
I have 2 files.one contains english text and another contains Japanese. so i have to read english text and replace the text with Japanesh text in third file.
Basically, I need a help to write japanese language in text/xml file.I heard wstring does this.Not sure how do i write... (2 Replies)
Discussion started by: SA_Palani
2 Replies
LEARN ABOUT DEBIAN
gnome2::canvas::richtext
Gnome2::Canvas::RichText(3pm) User Contributed Perl Documentation Gnome2::Canvas::RichText(3pm)
NAME
Gnome2::Canvas::RichText - Rich text canvas item
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gnome2::Canvas::Item
+----Gnome2::Canvas::RichText
METHODS
textbuffer = $text->get_buffer
$text->set_buffer ($buffer)
o $buffer (Gtk2::TextBuffer)
$text->copy_clipboard
$text->cut_clipboard
textiter = $text->get_iter_at_location ($x, $y)
o $x (integer)
o $y (integer)
rectangle = $text->get_iter_location ($iter)
o $iter (Gtk2::TextIter)
$text->paste_clipboard
PROPERTIES
'anchor' (Gtk2::AnchorType : default "north-west" : readable / writable)
Anchor point for text
'cursor-blink' (boolean : default true : readable / writable)
Does the cursor blink in this rich text item?
'cursor-visible' (boolean : default true : readable / writable)
Is the cursor visible in this rich text item?
'direction' (Gtk2::DirectionType : default "tab-backward" : readable / writable)
Text direction
'editable' (boolean : default true : readable / writable)
Is this rich text item editable?
'grow-height' (boolean : default false : readable / writable)
Should the text box height grow if the text does not fit?
'height' (double : default 0 : readable / writable)
Height for text box
'indent' (integer : default 0 : readable / writable)
Number of pixels for indentation
'justification' (Gtk2::Justification : default "left" : readable / writable)
Justification mode
'left-margin' (integer : default 0 : readable / writable)
Number of pixels in the left margin
'pixels-above-lines' (integer : default 0 : readable / writable)
Number of pixels to put above lines
'pixels-below-lines' (integer : default 0 : readable / writable)
Number of pixels to put below lines
'pixels-inside-wrap' (integer : default 0 : readable / writable)
Number of pixels to put inside the wrap
'right-margin' (integer : default 0 : readable / writable)
Number of pixels in the right margin
'text' (string : default undef : readable / writable)
Text to display
'visible' (boolean : default true : readable / writable)
Is this rich text item visible?
'width' (double : default 0 : readable / writable)
Width for text box
'wrap-mode' (Gtk2::WrapMode : default "word" : readable / writable)
Wrap mode for multiline text
'x' (double : default 0 : readable / writable)
X position
'y' (double : default 0 : readable / writable)
Y position
SIGNALS
tag-changed (Gnome2::Canvas::RichText, Glib::Object)
ENUMS AND FLAGS
enum Gtk2::AnchorType
o 'center' / 'GTK_ANCHOR_CENTER'
o 'north' / 'GTK_ANCHOR_NORTH'
o 'north-west' / 'GTK_ANCHOR_NORTH_WEST'
o 'north-east' / 'GTK_ANCHOR_NORTH_EAST'
o 'south' / 'GTK_ANCHOR_SOUTH'
o 'south-west' / 'GTK_ANCHOR_SOUTH_WEST'
o 'south-east' / 'GTK_ANCHOR_SOUTH_EAST'
o 'west' / 'GTK_ANCHOR_WEST'
o 'east' / 'GTK_ANCHOR_EAST'
o 'n' / 'GTK_ANCHOR_N'
o 'nw' / 'GTK_ANCHOR_NW'
o 'ne' / 'GTK_ANCHOR_NE'
o 's' / 'GTK_ANCHOR_S'
o 'sw' / 'GTK_ANCHOR_SW'
o 'se' / 'GTK_ANCHOR_SE'
o 'w' / 'GTK_ANCHOR_W'
o 'e' / 'GTK_ANCHOR_E'
enum Gtk2::DirectionType
o 'tab-forward' / 'GTK_DIR_TAB_FORWARD'
o 'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
o 'up' / 'GTK_DIR_UP'
o 'down' / 'GTK_DIR_DOWN'
o 'left' / 'GTK_DIR_LEFT'
o 'right' / 'GTK_DIR_RIGHT'
enum Gtk2::Justification
o 'left' / 'GTK_JUSTIFY_LEFT'
o 'right' / 'GTK_JUSTIFY_RIGHT'
o 'center' / 'GTK_JUSTIFY_CENTER'
o 'fill' / 'GTK_JUSTIFY_FILL'
enum Gtk2::WrapMode
o 'none' / 'GTK_WRAP_NONE'
o 'char' / 'GTK_WRAP_CHAR'
o 'word' / 'GTK_WRAP_WORD'
o 'word-char' / 'GTK_WRAP_WORD_CHAR'
SEE ALSO
Gnome2::Canvas, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gnome2::Canvas::Item
COPYRIGHT
Copyright (C) 2003-2004 by the Gtk2-Perl Team.
This software is licensed under the LGPL; see Gnome2::Canvas for a full notice.
perl v5.14.2 2011-11-16 Gnome2::Canvas::RichText(3pm)