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
Using awk to get columns from different files cosmologist UNIX for Dummies Questions & Answers 3 3 Weeks Ago 11:25 AM
Adding columns of two files chandra321 Shell Programming and Scripting 7 05-06-2009 01:11 PM
combining columns from different files iomaire Shell Programming and Scripting 10 02-14-2009 04:57 AM
Comparing Columns of two FIles ggopal Shell Programming and Scripting 4 02-21-2007 08:06 PM
Comparing Columns of two FIles ggopal UNIX for Advanced & Expert Users 1 02-17-2007 04:11 AM

 
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
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 06-18-2009
AMBER AMBER is offline
Registered User
  
 

Join Date: Mar 2009
Location: USA
Posts: 8
How to combine 500 .txt files when the default is 12 using 'paste'?

Hi,

I want to combined 500 .txt files (each file only has one line) to a single txt file (A.txt).

for example,

A1.txt with
12
23
34
45

A2.txt with
56
67
78
89

...etc, so I have A1.txt, A2.txt... , A499.txt, A500.txt

so the results suppose to be A.txt with
12 56 .... (500 columns)
23 67 .... (500 columns)
34 78 .... (500 columns)
45 89 .... (500 columns)

I use "paste A* > A.txt", but it seems that there are too many files to be combined, but unix only allows 12 files to put together.

Are there any other ways to do it?
Thanks a lot~!

Last edited by AMBER; 06-18-2009 at 03:41 AM..
 

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 06:58 AM.


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