If Number of fields are less than 6 and last 2 columns have values A and C so above solution will work then
also(which I guess pareshkp doesn't want seems user want to exchange only DD values) so adding a minor condition to it.
Output will be as follows.
Thanks,
R. Singh
This User Gave Thanks to RavinderSingh13 For This Post:
Hi All,
I am having trouble through, I am reading the input from tab delimited file containing several records,
e.g.
line1 field1 field2 field3 so on..
line2 field1 field2 field3 so on..
..
..
on the basis of certain fields for each record in input file, I have to retrieve... (1 Reply)
Hi Guys,
Input.txt
L194 A -118.2
L194 B -115.1
L194 C -118.7
L196 A 0
L196 C 0
L197 A -111.2
L197 B -118.9
L197 C -119.9
L199 A -120.4
L199 B -119.9 ... (2 Replies)
HI
I have input file A.txt
X
Y
Z
File B.txt
1 X 10 AAA 11123
2 Y 22 PlD 4563
3 Z 55 PlD 54645
4 Z 66 PlD 15698
5 F 44 PlD 154798
6 C 55 PlD 12554
7 Z 88 PlD 23265
8 C 99 PlD 151654
9 C 11 PlD 21546546
I need New File C.txt (1 Reply)
Greetings!
I need a quick way to change the format in a table of data
Here is an example of the input:
10 72 Value=177 VDB=0.0245 Value4=0,0,171,0
10 274 Value=238 VDB=0.0433 Value4=29,0,205,0
10 312 Value=222 VDB=0.0384 Value4=8,0,190,19
10 540 Value=405 VDB=0.0391 Value4=13,30,153,195... (3 Replies)
HI
Want to grep data from column header and match with second file.
File A.txt
1 2 3 4 5 6
X1 A L D J Q R
X2 B M K P w T
X3 C S L P e Y
X4 R Z M A r U
FileB.txt
1
2
3
4
6
7 (3 Replies)
Hello,
I have this file outputData:
# cat /tmp/outputData
__Capacity^6^NBSC01_Licences^L3_functionality_for_ESB_switch
__Capacity^2100^NBSC01_Licences^Gb_over_IP
__Capacity^1837^NBSC01_Licences^EDGE_BSS_Fnc
__Capacity^1816^NBSC01_Licences^GPRS_CS3_and_CS4... (1 Reply)
Input :-
Column to Row
Time CT 1 2 3
17:45 X 10 15 20
18:00 X 15 20 30
18:15 X 10 10 10
18:30 X 5 5 5
17:45 Y 10 15 20
18:00 Y 15 20 30
18:15 Y 10 10 10
18:30 Y 5 5 5
output:-
Time P X Y
17:45 1 10 10
18:00 1 15 15
18:15 1 10 10 (2 Replies)
Discussion started by: pareshkp
2 Replies
LEARN ABOUT DEBIAN
alzabo::create::columndefinition
Alzabo::Create::ColumnDefinition(3pm) User Contributed Perl Documentation Alzabo::Create::ColumnDefinition(3pm)NAME
Alzabo::Create::ColumnDefinition - Column definition object for schema creation
SYNOPSIS
use Alzabo::Create::ColumnDefinition;
DESCRIPTION
This object holds information on a column that might need to be shared with another column. The reason this class exists is that if a col-
umn is a key in two or more tables, then some of the information related to that column should change automatically in multiple places
whenever it changes at all. Right now this is only type ('VARCHAR', 'NUMBER', etc) and length/precision information. This object also has
an 'owner', which is the column which created it.
INHERITS FROM
"Alzabo::ColumnDefinition"
Note: all relevant documentation from the superclass has been merged into this document.
METHODS
new
This method takes the following parameters:
* owner => "Alzabo::Create::ColumnDefinition" object
* type => $type
It returns a new "Alzabo::Create::ColumnDefinition" object.
alter
See the "Alzabo::Column->alter()" method for details.
type
Returns the object's type as a string.
set_type ($string)
Sets the object's type.
Throws: "Alzabo::Exception::Params", "Alzabo::Exception::RDBMSRules"
length
Returns the length attribute of the column, or undef if there is none.
precision
Returns the precision attribute of the column, or undef if there is none.
set_length
This method takes the following parameters:
* length => $length
* precision => $precision (optional)
Sets the column's length and precision. The precision parameter is optional (though some column types may require it if the length is
set).
Throws: "Alzabo::Exception::Params", "Alzabo::Exception::RDBMSRules"
owner
Returns the "Alzabo::Create::Column" object that owns this definitions (the column that created it).
perl v5.8.8 2007-12-23 Alzabo::Create::ColumnDefinition(3pm)