07-19-2018
The ^[ is (not only) cat -v 's way to represent the ESC- char. Caret won't be good enough, won't work.
Let's wait for the requestor's attempts before we post valid solutions.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
My query is now a bit simplified.
file1.txt
names; ID; value1 ; values N;
ABC; 1 ; a18 ; ...
CDF; 2 ; b16 ; ..
ABC; 1 ; c13 ; ......
EFG; 3 ;d12 ; ...
file2.txt
ID(Unique);smVals; smVal1; smVal N;
1; ...; ...; ...;
2; ..; ..; ..;
3; ..; ..; ..; ... (1 Reply)
Discussion started by: szchmaltz
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I am facing a problem while getting the data from an Oracle table
Problem:
I am getting rows from an Oracle table to a tab seperated file.
One of the columns in that table have value with in between spaces like
AAAAA AAA
It's loading fine to .tab file.
But when... (2 Replies)
Discussion started by: pssandeep
2 Replies
3. Shell Programming and Scripting
Hi,
I want to remove empty/blank lines from comma seperated and space seperated files
Thanks all for help (11 Replies)
Discussion started by: pinnacle
11 Replies
4. Shell Programming and Scripting
I have file like this
FileA:
abc , "helloworld" , america
def,asia, japan
ghi, africa, ipl
Output Needed:
abc,"helloworld",america
def,asia,japan
ghi,africa,ipl
I would like to implement using awk.
I want to trim each field for its leading and trailing spaces. (7 Replies)
Discussion started by: pinnacle
7 Replies
5. Shell Programming and Scripting
Hi,
I have data like this.
1,2,3,4
Output required:
1
2
3
4
I am trying to use tr function but getting error.
Help is appreciated. (6 Replies)
Discussion started by: pinnacle
6 Replies
6. UNIX for Advanced & Expert Users
Hi,
Can anyone help:
I want to get the 7th column of a file seperated by ^
Num:^ 1^ testdevice1^10.1.1.1^PT1X23^true^HD^175^up^false^bad
Num:^ 2^ testdevice2^10.1.1.2^ST1X23^true^SN^175^up^false^bad
Expected result:
HD
SN
Appreciate your help. (2 Replies)
Discussion started by: sureshcisco
2 Replies
7. UNIX for Dummies Questions & Answers
Using awk or sed, I'd like to remove leading spaces after a comma and before a right justified number in field 6. Sounds simple but I can't find a solution. Each field's formatting must stay intact.
Input:
40,123456-02,160,05/24/2012,02/13/1977, 10699.15,0
Output:... (5 Replies)
Discussion started by: Scottie1954
5 Replies
8. Shell Programming and Scripting
Hi All,
I have 4 files in below format. I took them as an example.
File 1: Cut from position 1-4 then 6-7 then 8-14 then rest left and make them as columns in one new file. Inserting character H to the initial of all line like HCTOT.
CTOT 456787897 Low fever
CTOR 556712345 High fever... (2 Replies)
Discussion started by: Mannu2525
2 Replies
9. Shell Programming and Scripting
Hello,
(I'm a shell beginner)
how can I sum the bold values of the following txt-file (values.txt) with bash shell. The result of the sum should be written in a new txt file (sum.txt):
...
Thanks in advance (5 Replies)
Discussion started by: milu
5 Replies
10. Shell Programming and Scripting
I have a file with the below content
a = test1
b = test2
a = test3
b= test4
c = test6
b = test5
d = test7
d = test9
Need the output to be as follows
a = test1,test3
b = test2, test5
c = test6
d = test7, test9 (4 Replies)
Discussion started by: iron_michael86
4 Replies
LEARN ABOUT SUSE
gtk2::gdk::selection
Gtk2::Gdk::Selection(3) User Contributed Perl Documentation Gtk2::Gdk::Selection(3)
NAME
Gtk2::Gdk::Selection
METHODS
Gtk2::Gdk::Selection->convert ($requestor, $selection, $target, $time_)
o $requestor (Gtk2::Gdk::Window)
o $selection (Gtk2::Gdk::Atom)
o $target (Gtk2::Gdk::Atom)
o $time_ (unsigned)
window or undef = Gtk2::Gdk::Selection->owner_get ($selection)
o $selection (Gtk2::Gdk::Atom)
window or undef = Gtk2::Gdk::Selection->owner_get_for_display ($display, $selection)
o $display (Gtk2::Gdk::Display)
o $selection (Gtk2::Gdk::Atom)
Since: gtk+ 2.2
boolean = Gtk2::Gdk::Selection->owner_set ($owner, $selection, $time_, $send_event)
o $owner (Gtk2::Gdk::Window or undef)
o $selection (Gtk2::Gdk::Atom)
o $time_ (unsigned)
o $send_event (boolean)
boolean = Gtk2::Gdk::Selection->owner_set_for_display ($display, $owner, $selection, $time_, $send_event)
o $display (Gtk2::Gdk::Display)
o $owner (Gtk2::Gdk::Window)
o $selection (Gtk2::Gdk::Atom)
o $time_ (unsigned)
o $send_event (boolean)
Since: gtk+ 2.2
(data, prop_type, prop_format) = Gtk2::Gdk::Selection->property_get ($requestor)
o $requestor (Gtk2::Gdk::Window)
Use Gtk2::Clipboard instead.
Gtk2::Gdk::Selection->send_notify ($requestor, $selection, $target, $property, $time_)
o $requestor (unsigned)
o $selection (Gtk2::Gdk::Atom)
o $target (Gtk2::Gdk::Atom)
o $property (Gtk2::Gdk::Atom)
o $time_ (unsigned)
Gtk2::Gdk::Selection->send_notify_for_display ($display, $requestor, $selection, $target, $property, $time_)
o $display (Gtk2::Gdk::Display)
o $requestor (unsigned)
o $selection (Gtk2::Gdk::Atom)
o $target (Gtk2::Gdk::Atom)
o $property (Gtk2::Gdk::Atom)
o $time_ (unsigned)
Since: gtk+ 2.2
SEE ALSO
Gtk2
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::Gdk::Selection(3)