Current location: Hot Scripts Forums » Programming Languages » Perl » concatenating two files


concatenating two files

Reply
  #1 (permalink)  
Old 01-12-04, 04:40 AM
gmadhukarreddy gmadhukarreddy is offline
Newbie Coder
 
Join Date: Jan 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
concatenating two files

Hi,

Is there a way to just add the entire cintents of a file to the end of another file? Any system command (linux) or perl default command that does this very efficiently?

NOTE : please remember that my files are of 200 MB data each and reading line by line from one file and appending to the other will take a lot of time.
Reply With Quote
  #2 (permalink)  
Old 01-13-04, 07:03 PM
YUPAPA's Avatar
YUPAPA YUPAPA is offline
Newbie Coder
 
Join Date: Sep 2003
Location: Antarctica
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
you can try to use /bin/cat
__________________
YuPaPa.CoM is my home ~
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automated script to delete certain files shib_s Script Requests 3 08-03-06 05:28 PM
php files in a cgi-bin directory epic1231 PHP 7 12-31-03 03:42 PM
Upload file to table so ONLY files tied to primary key are displayed in record? grafixDummy PHP 4 12-20-03 04:28 PM
How to <!--include .htm files in .php files cstallins PHP 4 10-27-03 05:35 AM
Admin files of my program darkcarnival Website Reviews 8 09-17-03 01:07 PM


All times are GMT -5. The time now is 04:51 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.