Hi,
I am wondering how to do this more efficiently than I am currently doing it:
I have these 3 columns
3315 E14 1
397 E14 2
321 E14 3
27 E14 4
7 E14 5
2 E14 6
But I like them to be displayed like this:
1 2 ... (5 Replies)
I have a file containing rows with the following format.
Field1|Field2|Field3|data1:data data2:data data3:"dataA:data dataB:data" data4:data:data (and so on)
I need to format the above row into multiple rows that look like this:
Field1|Field2|Field3|data1|data
... (2 Replies)
Hi guys,
here https://www.unix.com/shell-programming-scripting/193043-3-column-csv-correlation-matrix-awk-perl.html I found awk script converting
awk '{
OFS = ";"
if (t) {
if (l != $1)
t = t OFS $1
} else t = OFS $1
x = x ? x OFS $NF : $NF
l = $1
}... (2 Replies)
Hi Friends,
I have come across some files where some of the columns don not have data.
Key, Data1,Data2,Data3,Data4,Data5
A,5,6,,10,,
A,3,4,,3,,
B,1,,4,5,,
B,2,,3,4,,
If we see the above data on Data5 column do not have any row got filled. So remove only that column(Here Data5) and... (4 Replies)
Hi all,
I am a newbie to awk and trying to learn by doing examples.
I got stuck at this relatively simple conversion.
The start file looks like:
1 2 "t1"
1 3 "h1"
2 1 "h1"
2 2 "h2"
and I want to convert it into
1 t1:2, h1:3;
2 h1:1, h2:2;
Thanks. (9 Replies)
Hi all, I know this sounds suspiciously like a homework course; but, it is not.
My goal is to take a file, and match my "ID" column to the "Date" column, if those conditions are true, add the total number of minutes worked and place it in this file, while not printing the original rows that I... (6 Replies)
i am using the command pkginfo -l | /usr/xpg4/bin/grep -e 'VENDOR' -e 'NAME' -e 'VERSION' >> /tmp/test1.txt in order to get name,vendor and version of the applications installed on Solaris machine.The output stored in test1.txt in as shown below:
NAME: Solaris Zones (Usr)
VERSION: ... (4 Replies)
Hi all, I'm pretty much a newbie to UNIX. I would appreciate any help with UNIX coding on comparing two large csv files (greater than 10 GB in size), and output a file with matching columns.
I want to compare file1 and file2 by 'id' and 'chain' columns, then extract exact matching rows'... (5 Replies)
HI,
My Input file data is
dn:adcfgeneral
id:13343
Name:xxxxxx
Password:iutyerwuitywue wpuwt
tuiytruityrutyrwtyrwp
dn:cdferwjyyyy
id:3875
Name:yyyy
Password :hgfdsjkfhdsfkdlshf
dshfkldshfdklsfh
interset:uiuiufj
My output should be
... (6 Replies)
Discussion started by: dineshaila
6 Replies
LEARN ABOUT DEBIAN
goo::canvas::table
Goo::Canvas::Table(3pm) User Contributed Perl Documentation Goo::Canvas::Table(3pm)NAME
Goo::Canvas::Table - wrapper for GooCanvasTable
HIERARCHY
Glib::Object
+----Goo::Canvas::ItemSimple
+----Goo::Canvas::Group
+----Goo::Canvas::Table
INTERFACES
Goo::Canvas::Item
METHODS
item = Goo::Canvas::Table->new ($parent, ...)
o $parent (Goo::Canvas::Item)
o ... (list)
PROPERTIES
'column-spacing' (double : default 0 : readable / writable)
The default space between columns
'homogeneous-columns' (boolean : default false : readable / writable)
If all columns are the same width
'homogeneous-rows' (boolean : default false : readable / writable)
If all rows are the same height
'horz-grid-line-width' (double : default 0 : readable / writable)
The width of the grid line to draw between rows
'row-spacing' (double : default 0 : readable / writable)
The default space between rows
'vert-grid-line-width' (double : default 0 : readable / writable)
The width of the grid line to draw between columns
'x-border-spacing' (double : default 0 : readable / writable)
The amount of spacing between the lefmost and rightmost cells and the border grid line
'y-border-spacing' (double : default 0 : readable / writable)
The amount of spacing between the topmost and bottommost cells and the border grid line
SEE ALSO
Glib::Object, Goo::Canvas::ItemSimple, Goo::Canvas::Group
COPYRIGHT
Copyright (C) 2011 Gtk2-Perl Team
perl v5.14.2 2011-11-16 Goo::Canvas::Table(3pm)