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 and shell scripting languages 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 05:19 PM
Need To Combine 2 Files goodmis Shell Programming and Scripting 4 02-21-2007 10:55 PM
combine two files fredao1 Shell Programming and Scripting 1 01-08-2007 09:29 PM
Combine 2 files Nekki UNIX for Dummies Questions & Answers 2 12-01-2005 02:46 AM
how to combine two files tao UNIX for Dummies Questions & Answers 4 03-21-2002 10:38 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-12-2005
ravi.sadani19 ravi.sadani19 is offline
Registered User
  
 

Join Date: Jul 2005
Posts: 42
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
  #2 (permalink)  
Old 07-12-2005
vino's Avatar
vino vino is offline Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,798
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
  #3 (permalink)  
Old 07-12-2005
ravi.sadani19 ravi.sadani19 is offline
Registered User
  
 

Join Date: Jul 2005
Posts: 42
thnx a lot

thnx a lot its wrking
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:42 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0