Sponsored Content
Top Forums Shell Programming and Scripting Combining columns from multiple files into one single output file Post 302786121 by vfrg on Wednesday 27th of March 2013 12:43:01 AM
Old 03-27-2013
I tried Paste but it is not giving the result as expected...

Output File: output.txt
-----------------------
Information_a1:Information_b1:Information_c1
Information_a2:Information_b2:Information_c2
:Information_b3:Information_c3
:Information_b4:Information_c4
::Information_c5
::Information_c6

But Paste is giving:

Output File: output.txt
-----------------------
Information_a1:Information_b1:Information_c1
Information_a2:Information_b2:Information_c2
Information_b3:Information_c3
Information_b4:Information_c4
Information_c5
Information_c6
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Filtering issues with multiple columns in a single file

Hi, I am new to unix and would greatly appreciate some help. I have a file containing multiple colums containing different sets of data e.g. File 1: John Ireland 27_December_69 Mary England 13_March_55 Mike France 02_June_80 I am currently using the awk... (10 Replies)
Discussion started by: crunchie
10 Replies

2. Shell Programming and Scripting

Combining columns from multiple files to one file

I'm trying to combine colums from multiple file to a single file but having some issues, appreciate your help. The filenames are the same except for the extension, path1.m0 --------- a b c d e f g h i path1.m1 --------- m n o p q r s t u File names are path1.m The... (3 Replies)
Discussion started by: rkmca
3 Replies

3. Programming

PERL:Combining multiple lines to single line

Hi All I need a small help for the below format in making a small script in Perl or Shell. I have a file in which a single line entries are broken into three line entries. Eg: I have a pen and notebook. All i want is to capture in a single line in a separate file. eg: I have a pen and... (4 Replies)
Discussion started by: Kalaiela
4 Replies

4. Shell Programming and Scripting

Awk match multiple columns in multiple lines in single file

Hi, Input 7488 7389 chr1.fa chr1.fa 3546 9887 chr5.fa chr9.fa 7387 7898 chrX.fa chr3.fa 7488 7389 chr21.fa chr3.fa 7488 7389 chr1.fa chr1.fa 3546 9887 chr9.fa chr5.fa 7898 7387 chrX.fa chr3.fa Desired Output 7488 7389 chr1.fa chr1.fa 2 3546 9887 chr5.fa chr9.fa 2... (2 Replies)
Discussion started by: jacobs.smith
2 Replies

5. UNIX for Dummies Questions & Answers

Need help combining txt files w/ multiple lines into csv single cell - also need data merge

:confused:Hello -- i just joined the forums. I am a complete noob -- only about 1 week into learning how to program anything... and starting with linux. I am working in Linux terminal. I have a folder with a bunch of txt files. Each file has several lines of html code. I want to combine... (2 Replies)
Discussion started by: jetsetter
2 Replies

6. Shell Programming and Scripting

Using a single "find" cmd to search for multiple file types and output individual files

Hi All, I am new here but I have a scripting question that I can't seem to figure out with the "find" cmd. What I am trying to do is to only have to run a single find cmd parsing the directories and output the different file types to induvidual files and I have been running into problems.... (3 Replies)
Discussion started by: swaters
3 Replies

7. Shell Programming and Scripting

Compare columns of multiple files and print those unique string from File1 in an output file.

Hi, I have multiple files that each contain one column of strings: File1: 123abc 456def 789ghi File2: 123abc 456def 891jkl File3: 234mno 123abc 456def In total I have 25 of these type of file. (5 Replies)
Discussion started by: owwow14
5 Replies

8. Shell Programming and Scripting

Join two files combining multiple columns and produce mix and match output

I would like to join two files when two columns in each file matches with each other and then produce an output when taking multiple columns. Like I have file A 1234,ABCD,23,JOHN,NJ,USA 2345,ABCD,24,SAM,NY,USA 5678,GHIJ,24,TOM,NY,USA 5678,WXYZ,27,MAT,NJ,USA and file B ... (2 Replies)
Discussion started by: mady135
2 Replies

9. Shell Programming and Scripting

Combining certain columns of multiple files into one file

Hello Unix gurus, I have a large number of files (say X) each containing two columns of data and the same number of rows. I would like to combine these files to create a unique merged file containing X columns corresponding to the second column of each file (with a bonus of having the first... (3 Replies)
Discussion started by: ksennin
3 Replies

10. UNIX for Beginners Questions & Answers

Output file name and file contents of multiple files to a single file

I am trying to consolidate multiple information files (<hostname>.Linux.nfslist) into one file so that I can import it into Excel. I can get the file contents with cat *Linux.nfslist >> nfslist.txt. I need each line prefaced with the hostname. I am unsure how to do this. --- Post updated at... (5 Replies)
Discussion started by: Kentlee65
5 Replies
Biber::Output::base(3pm)				User Contributed Perl Documentation				  Biber::Output::base(3pm)

NAME
Biber::Output::Base - base class for Biber output modules. new Initialize a Biber::Output::Base object set_output_target_file Set the output target file of a Biber::Output::Base object A convenience around set_output_target so we can keep track of the filename set_output_target Set the output target of a Biber::Output::Base object set_output_head Set the output head of a Biber::Output::Base object $data could be anything - the caller is expected to know. set_output_tail Set the output tail of a Biber::Output::Base object $data could be anything - the caller is expected to know. get_output_head Get the output head of a Biber::Output object $data could be anything - the caller is expected to know. Mainly used in debugging get_output_tail Get the output tail of a Biber::Output object $data could be anything - the caller is expected to know. Mainly used in debugging add_output_head Add to the head output data of a Biber::Output::Base object The base class method just does a string append add_output_tail Add to the tail output data of a Biber::Output::Base object The base class method just does a string append set_output_section Records the section object in the output object We need some information from this when writing the .bbl get_output_section Retrieve the output section object get_output_entries Get the sorted order output data for all entries in a list as array ref get_output_entry Get the output data for a specific entry. Used really only in tests as it instantiates list dynamic information so we can see it in tests set_los Set the output list of shorthands for a section get_los Get the output list of shorthands for a section as an array set_output_entry Add an entry output to a Biber::Output::Base object The base class method just does a dump create_output_misc Create the output for misc bits and pieces like preamble and closing macro call and add to output object. create_output_section Create the output from the sections data and push it into the output object. set_output_keyalias Set the output for a key which is an alias to another key set_output_undefkey Set the output for an undefined key output Generic base output method AUTHORS
Francois Charette, "<firmicus at ankabut.net>" Philip Kime "<philip at kime.org.uk>" BUGS
Please report any bugs or feature requests on our sourceforge tracker at <https://sourceforge.net/tracker2/?func=browse&group_id=228270>. COPYRIGHT &; LICENSE Copyright 2009-2012 Francois Charette and Philip Kime, all rights reserved. This module is free software. You can redistribute it and/or modify it under the terms of the Artistic License 2.0. This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. perl v5.14.2 2012-06-17 Biber::Output::base(3pm)
All times are GMT -4. The time now is 12:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy