The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Combining files horizontally anshuljain HP-UX 3 03-14-2008 01:51 AM
Combining two files hemangjani Shell Programming and Scripting 7 06-13-2007 07:32 PM
Combining Two Files stevefox Shell Programming and Scripting 4 02-20-2006 01:09 AM
Combining Two Files bat711 Shell Programming and Scripting 3 10-05-2005 10:26 AM
combining files apalex UNIX for Dummies Questions & Answers 3 06-19-2001 06:49 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-18-2001
Registered User
 

Join Date: Jun 2001
Posts: 3
Combining files

Hi,
is there a way to combine 2 files together, joining line 1 from file A with line 1 from file B, line 2 from A with line 2 from B etc.

File A File B
1 4
2 5
3 6

Combined result =
File C
14
25
36
Forum Sponsor
  #2 (permalink)  
Old 07-19-2001
Registered User
 

Join Date: Nov 2000
Location: India
Posts: 83
Hi

just try giving

paste -d "\0" fileA.txt fileB.txt > fileC.txt
  #3 (permalink)  
Old 07-20-2001
flim flam flamma jamma
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
i want to say that exact same questions was asked maby 3 weeks ago. try doing a search on the word combine.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:36 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0