01-24-2005
merging colums from different files
hi all ,
i have three files that contain numbes as the first column .
i want to add these files together so the numbers from the first file is in the first column ; the numbers from the second file in the second column; and the numbers from the third file in the third column .
as an example :
file1 file2 file3
12 23 236
13 234 234
134 233 234
14 237 233
14 2367 232
14 2399 232
file 4
12 23 236
13 234 234
134 233 234
14 237 233
14 2367 332
14 2399 232
thank in advance
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi I have a requirement like this.
I have two files
This is how data1.txt looks:
EI3171280 38640658501 NENN2005-12-129999-12-312005-12-12HALL NANCY 344 CHENEY HIGHWAY ... (4 Replies)
Discussion started by: venommaker
4 Replies
2. Shell Programming and Scripting
Friends,
os: redhat enterprise linux/SCO UNIX5.0
I have two files and I would like to merge on given key value.
Now I have tried with join commd but it does not supporte multiple delimiters.
and if records length is not fixed.
join -a1 5 -a2 1 -t -o file1 file2 > outname
Can any... (7 Replies)
Discussion started by: vakharia Mahesh
7 Replies
3. Shell Programming and Scripting
Hi,
I have got two files
1.txt
1111|apple|
2222|orange|
2.txt
1111|1234|000000000004356|
1111|1234|000000001111|
1111|1234|002000011112|
2222|5678|000000002222|
2222|9102|000000002222|
I need to merge these two so that my out put looks like below:
Search code being used should be... (4 Replies)
Discussion started by: jisha
4 Replies
4. Shell Programming and Scripting
i would like to merge two files that have the same format but have different data.
i would like to create one output file that contains information from both the original files.:rolleyes: (2 Replies)
Discussion started by: joe black
2 Replies
5. Shell Programming and Scripting
I've got two large csv text table files with different number of columns each.
I have to compare them based on first two columns and create resulting file
that would in case of matched first two columns include all values from first one and all values (except first two colums) from second one. I... (5 Replies)
Discussion started by: agb2008
5 Replies
6. Shell Programming and Scripting
Hi,
I want to merge the two files on the basis of columns like...
file 1
Data Key
A 12
B 13
file2
Data Value
A A1
A A2
B B1
B B2 (5 Replies)
Discussion started by: clx
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have two files a.txt and b.txt.
a.txt
1
2
3
4
b.txt
a
b
c
d
e
I want to generate a file c.txt by merging these two file and the resultant file would contain
c.txt
1 (4 Replies)
Discussion started by: siba.s.nayak
4 Replies
8. Shell Programming and Scripting
Hello all,
I have limited experience in shell scripting. Here goes my question:
I have two directories that have same number of files with same file names i.e. consider 2 directories A and B. Both directories have files 1.txt, 2.txt......
I need to merge the file 1.txt of A with file 1.txt... (5 Replies)
Discussion started by: jaysean
5 Replies
9. Shell Programming and Scripting
Guys,
I am having little problem with getting a daily report!
The daily process that I do is as follows
1. Unload Header for the report from the systables to one unl file, say Header.unl
2. Unload the data from the required table/tables to another unl file, say Data.unl
3. Send a... (2 Replies)
Discussion started by: PikK45
2 Replies
10. Shell Programming and Scripting
Hi ,
I am trying to write a part in shell script. I have two files with one column each and would like to output it to a new file giving the records which are different.Pls help experts.
File1
Column name
11
12
13
14
18
File2
Column name
11
12
14
17
19 (2 Replies)
Discussion started by: Rossdba
2 Replies
LEARN ABOUT CENTOS
struct_matrix_keypad_platform_data
STRUCT
MATRIX_KEYPAD(9) Input Subsystem STRUCT MATRIX_KEYPAD(9)
NAME
struct_matrix_keypad_platform_data - platform-dependent keypad data
SYNOPSIS
struct matrix_keypad_platform_data {
const struct matrix_keymap_data * keymap_data;
const unsigned int * row_gpios;
const unsigned int * col_gpios;
unsigned int num_row_gpios;
unsigned int num_col_gpios;
unsigned int col_scan_delay_us;
unsigned int debounce_ms;
unsigned int clustered_irq;
unsigned int clustered_irq_flags;
bool active_low;
bool wakeup;
bool no_autorepeat;
};
MEMBERS
keymap_data
pointer to matrix_keymap_data
row_gpios
pointer to array of gpio numbers representing rows
col_gpios
pointer to array of gpio numbers reporesenting colums
num_row_gpios
actual number of row gpios used by device
num_col_gpios
actual number of col gpios used by device
col_scan_delay_us
delay, measured in microseconds, that is needed before we can keypad after activating column gpio
debounce_ms
debounce interval in milliseconds
clustered_irq
may be specified if interrupts of all row/column GPIOs are bundled to one single irq
clustered_irq_flags
flags that are needed for the clustered irq
active_low
gpio polarity
wakeup
controls whether the device should be set up as wakeup source
no_autorepeat
disable key autorepeat
DESCRIPTION
This structure represents platform-specific data that use used by matrix_keypad driver to perform proper initialization.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT MATRIX_KEYPAD(9)