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
Reading a file and writing the file name to a param file. thebeginer UNIX for Advanced & Expert Users 1 10-05-2007 05:38 PM
reading/ writing to sockets rein Shell Programming and Scripting 1 09-20-2007 09:57 PM
Reading and Writing file on LAN lucky001 High Level Programming 3 03-30-2007 03:16 PM
Reading specific contents from a file and appending it to another file dnicky Shell Programming and Scripting 5 10-04-2005 06:45 AM
Reading and Manipulating captured packets (pflog file) PenguinDevil Security 0 12-29-2004 12:40 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-12-2008
szchmaltz szchmaltz is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 7
reading ,writing,appending ,manipulating a file.

Hi my prob statement is to create a new file or to append to the 1tst file the followign chages.

File 1: txt file.
portfolio No a b c d
abc 1 Any Any Any charString
cds 2 values values values charString
efd 3 can can can charString
fdg 4 come come come charString
trh 5 here here here charString


File 2: txt file.
No Imp1 Imp2
1 D v1
1 D v2
1 D v3
2 R v4
2 R v5


create this - txt file.


portfolio No a b Imp1 Imp2(String) c d

abc 1 Any Any D v1,v2,v3 Any charString
cds 2 values values R v4,v5 values charString
efd 3 can can can charString
fdg 4 come come come charString
trh 5 here here here charString

Now in this output there are many some more than 15 columns like i mentioned just (a b ) for ex above...
Please help to get this output by shel script.
Also the No could grow to any extent.
Thanks..
 

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 10:27 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