The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to combine 2 different files rdasari HP-UX 1 03-17-2008 02:19 PM
Need To Combine 2 Files goodmis Shell Programming and Scripting 4 02-21-2007 07:55 PM
combine two files fredao1 Shell Programming and Scripting 1 01-08-2007 06:29 PM
Combine 2 files Nekki UNIX for Dummies Questions & Answers 2 11-30-2005 11:46 PM
how to combine two files tao UNIX for Dummies Questions & Answers 4 03-21-2002 07:38 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-12-2005
Registered User
 

Join Date: Jul 2005
Posts: 35
How to combine 2 files

hi all

i have 2 files f1 and f2

i have to combine these 2 files and make a new file f3

when i use paste f1 f2 >f3 its pasting vertically

but i want to paste horizontally

How to do ..

pls let me know
Reply With Quote
Forum Sponsor
  #2  
Old 07-12-2005
vino's Avatar
Supporter (in vino veritas)
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,699
How about using cat.

Code:
cat f1 f2 > f3
If it doesnt work, provide us with a sample text of f1 f2 and how f3 should be.

Vino
Reply With Quote
  #3  
Old 07-12-2005
Registered User
 

Join Date: Jul 2005
Posts: 35
thnx a lot

thnx a lot its wrking
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:08 AM.


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 Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0