Hi,
Can some one tell, how to replace ascii non printable TAB from the while to something, then later on replace it back to TAB.
Basciallz we do bulk data processing, our processin treats TAB as new field ,
So I thought we can replace it with something and later on revert it.
TIA (4 Replies)
Hello Shell Gurus i need help in solving this puzzle. We have a junk data file that needs to be fed into the database. Need to clense the data file thru shell script. I am not a expert and so need help with
Here is what i need to do on the input file
-Step -1 Replace all pipes ‘|' within... (1 Reply)
Hello, my name is Marc, I'm a linux starter :) and I hope you specialists can help me solving this issue.
I have a file containing a lot of data. Somewhere in this file, there's a string called "Faultdump", directly followed by 64 chars of HEX data. I need to get the HEX part. I accomplished... (12 Replies)
Hello friendz,
dfl;g435hkd.fg
..this is what I am getting. I want to print strings without junk chars.
I want to exactly like this... dflg435hkd.fg ...need some specific operators also. for example, dot or comma should allow.
plz help me out ya!
~Balan:confused: (1 Reply)
Hi,
I'd get fields like
unix_linux_form_yyyyddmmhhmi.file.txt
shell_programming_and_scripting.txt
so on...
and want them as below
unix_linux_form
shell_programming_and
I could remove everything after a '.' as below
echo $field | sed 's/\..*//'
but how to remove... (14 Replies)
I have a file containing few thousands of lines. when I do cat on it , i find it having two special Chars at the start of first line alone as shown down here.
ÿþHDR|20111024|01 If i delete this line and do a cat on file , the current first line is shown to have the same special Chars.
... (3 Replies)
Hello,
I have a csv file with "^" as text delimiters and "|" as field delimiters. It's converted from a xls file. One record looks like this:
^Tablete Internet^|Archos|501838|^Tableta Internet ARCHOS 80 G9
...| ...
(more lines)
... "501|838"^|330.00|USD|sl|12|0|Link|^router wireless 150... (10 Replies)
HI All
Im trying to come up with an approach to finding a string, using a portion of that string to insert it on lines starting with the value "GOTO" appending to end of line after removing PT's ( See example below! )
EXAMPLE:
1. I would like to search for the line that starts with "TLAXIS/"... (7 Replies)
I would like to remove all characters starting with "%" and ending with ")" in the 4th field - please help!!
1412007819.864 /device/services/heartbeatxx 204 0.547%!i(int=0) 0.434 0.112
1412007819.866 /device/services/heartbeatxx 204 0.547%!i(int=1) 0.423 0.123... (10 Replies)
Discussion started by: snemuk14
10 Replies
LEARN ABOUT DEBIAN
gtk2::entrybuffer
Gtk2::EntryBuffer(3pm) User Contributed Perl Documentation Gtk2::EntryBuffer(3pm)NAME
Gtk2::EntryBuffer - wrapper for GtkEntryBuffer
HIERARCHY
Glib::Object
+----Gtk2::EntryBuffer
The Gtk2::EntryBuffer class contains the actual text displayed in a Gtk2::Entry widget.
A single Gtk2::EntryBuffer object can be shared by multiple Gtk2::Entry widgets which will then share the same text content, but not the
cursor position, visibility attributes, icon etc.
Gtk2::EntryBuffer may be derived from. Such a derived class might allow text to be stored in an alternate location, such as non-pageable
memory, useful in the case of important passwords. Or a derived class could integrate with an application's concept of undo/redo.
METHODS
entrybuffer = Gtk2::EntryBuffer->new ($initial_chars=undef)
o $initial_chars (string)
unsigned = $buffer->get_bytes
integer = $buffer->delete_text ($position=0, $n_chars=-1)
o $position (integer)
o $n_chars (integer)
$buffer->emit_deleted_text ($position, $n_chars)
o $position (integer)
o $n_chars (integer)
$buffer->emit_inserted_text ($position, $chars, $n_chars)
o $position (integer)
o $chars (string)
o $n_chars (integer)
$buffer->insert_text ($position, $chars)
o $position (integer)
o $chars (string)
integer = $buffer->get_length
integer = $buffer->get_max_length
$buffer->set_max_length ($max_length)
o $max_length (integer)
string = $buffer->get_text
$buffer->set_text ($chars)
o $chars (string)
PROPERTIES
'length' (Glib::UInt : default 0 : readable / private)
Length of the text currently in the buffer
'max-length' (integer : default 0 : readable / writable / private)
Maximum number of characters for this entry. Zero if no maximum
'text' (string : default "" : readable / writable / private)
The contents of the buffer
SIGNALS
inserted-text (Gtk2::EntryBuffer, Glib::UInt, string, Glib::UInt)
deleted-text (Gtk2::EntryBuffer, Glib::UInt, Glib::UInt)
SEE ALSO
Gtk2, Glib::Object
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::EntryBuffer(3pm)