Search Results

Search: Posts Made By: bharathbangalor
2,077
Posted By bharathbangalor
Sorry for creating confusion.:confused: I have...
Sorry for creating confusion.:confused:
I have attached the actual data,and this is the one which I am actually working on.
2,077
Posted By bharathbangalor
Its not working pravin. :( The values from slave...
Its not working pravin. :( The values from slave file are not placed under correct headers. Also values from master file are not displayed.
2,077
Posted By bharathbangalor
Hi pravin, The above code will output the...
Hi pravin,

The above code will output the headers from both the files and display values one below the other.But the output should contain headers from master file alone and there respective...
1,755
Posted By bharathbangalor
Hi Don, PFA my actual data and required...
Hi Don,

PFA my actual data and required output sample.
PFB the answers for your question
1. Yes
2. No
3.2.6.32-279.5.1.el6.x86_64 #1 SMP Tue Jul 24 13:57:35 EDT 2012 x86_64 x86_64 x86_64...
2,077
Posted By bharathbangalor
The tab separated file is the master file which...
The tab separated file is the master file which contains all the columns and CSV file is the slave file which contains only few columns from master.

Requirement.
The final output should contain...
2,077
Posted By bharathbangalor
Hi akshay , let me post you the actual data....
Hi akshay ,
let me post you the actual data. PFA the data for the above specification.
Kindly help me !
2,077
Posted By bharathbangalor
Merging two files in UNIX
Hi Experts,
Need urgent solution for a problem.

I have two files file1 and file2. file1 is tab separated and file2 is comma separated.
I need to merge both the files into single file based on...
1,755
Posted By bharathbangalor
Thanks Don, It works good for 3 columns. But what...
Thanks Don, It works good for 3 columns. But what if we have multiple columns say around 100.

---------- Post updated at 04:12 AM ---------- Previous update was at 04:09 AM ----------


...
1,755
Posted By bharathbangalor
Merging fields in CSV
Hi experts,
I have a csv file which has one field (ID) repeated multiple times with corresponding other field values.
I need to convert this file in a format where for a ID all other values has to...
2,400
Posted By bharathbangalor
This works if we have less number of columns, But...
This works if we have less number of columns, But what if we have around 1000+ columns
2,400
Posted By bharathbangalor
Sorry for asking too many doubts. The below...
Sorry for asking too many doubts.

The below code works for fine for files with 3 columns. what if it contains unknown number of columns.In that case how to print all the columns
2,400
Posted By bharathbangalor
Thanks Akshay:)It worked perfectly:b: One small...
Thanks Akshay:)It worked perfectly:b:
One small doubt, what if file1 contains headers and file2 is without headers. In that case will this command work or will there be any other changes in the...
2,400
Posted By bharathbangalor
Joining two files by retaining the headers.
Hi Experts,

I want to join two files(file1 ,file2) which are having tab separated values,by sorting them on key column(ID) and want to redirect the output to other file(output file) along with the...
19,234
Posted By bharathbangalor
:o Akshay : The above code displays entire...
:o Akshay :
The above code displays entire column values mentioned in the Headerlist.
But it should output the values based on certain field value.
Say I need to extract Field2 value where...
19,234
Posted By bharathbangalor
Or else , Is there a way to find the position of...
Or else , Is there a way to find the position of a particular field .
For example say Field 3,its in 3rd position. How to pragmatically fetch the position of field3.
19,234
Posted By bharathbangalor
Thanks for the reply Ajay. But here I don't...
Thanks for the reply Ajay.

But here I don't fetch values based on column position ($2==123). Instead i want to fetch value by the header name .
19,234
Posted By bharathbangalor
Fetching values in CSV file based on column name
input.csv:
Field1,Field2,Field3,Field4,Field4
abc ,123 ,xyz ,000 ,pqr
mno ,123 ,dfr ,111 ,bbb

output:
Field2,Field4
123 ,000
123 ,111

how to fetch the values of Field4...
940
Posted By bharathbangalor
Joining files present in different directories.
Hi Experts,

I have files Bank1 ,Bank2 ,Bank3 with high level customer information in one folder.
/home/Cust_information/
Bank1,Bank2,Bank3,Bank4


The detail level information of all...
1,079
Posted By bharathbangalor
Identifying columns and their values based on schema file
I have 3 files, data file,schema file and a threshold file.
Data file contains data in which columns are distributed according to schema file. This data file doesn't contain any headers.

Three...
Showing results 1 to 19 of 19

 
All times are GMT -4. The time now is 02:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy