The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Contact Us (Meet Our Management Team) > Post Here to Contact Site Administrators and Moderators
.
google unix.com



Post Here to Contact Site Administrators and Moderators Registered Users make ask questions and suggestions about forums, features, or content here. Get forum support here, not via email!!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Source Code Of Unix rajesh_ranjan26 Post Here to Contact Site Administrators and Moderators 1 10-01-2006 07:38 AM
Code page in Unix braindrain Shell Programming and Scripting 2 07-06-2006 11:18 AM
the source code of unix matsoyka Post Here to Contact Site Administrators and Moderators 1 03-07-2006 05:14 AM
Unix code - how to view? What is it? peter.herlihy UNIX for Dummies Questions & Answers 2 08-23-2002 09:56 PM
Unix Code jacx2 UNIX for Advanced & Expert Users 7 04-09-2002 01:14 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-01-2009
sree_nivas79 sree_nivas79 is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 2
Unix Code

Hi,

My requirement is I have 3 files A B C I need to write the first record of A and then 1st record of B and then 1st record of C to output and then 2nd record of A, 2nd record of B and 2nd record of C and so on to output file through UNIX.

Input
File -A
1st record----apple
2nd record----bat
3rd record----cat

File – B
1st record----axe
2nd record----ball
3rd record----cap
4th record----dog

File – C
1st record----angel
2nd record----bunch
3rd record----cool
4th record----drug
5th record----ear
6th record----fish

Output:
Apple axe angel
Bat ball bunch
Cat cap cool
Dog drug
Ear
Fish

Can any one help me?
  #2 (permalink)  
Old 09-01-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,951
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.
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 12:19 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