![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 print script output to screen and file | orahi001 | UNIX for Dummies Questions & Answers | 10 | 01-16-2009 01:47 AM |
| How to parse through a file and based on condition form another output file | sivasu.india | UNIX for Advanced & Expert Users | 6 | 02-28-2008 04:59 AM |
| parse through one text file and output many | sophiadun | UNIX for Dummies Questions & Answers | 14 | 02-20-2008 06:08 AM |
| Shell script to search through numbers and print the output | cdfd123 | Shell Programming and Scripting | 8 | 10-30-2007 04:40 PM |
| using awk or sed to print output from one file | cdfd123 | UNIX for Dummies Questions & Answers | 2 | 07-18-2007 03:04 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
To parse through the file and print output using awk or sed script
suppose if u have a file like that
Hen ABCCSGSGSGJJJJK 15 Cock ABCCSGGGSGIJJJL 15 * * * * * * : * * * . * * * : Hen CFCDFCSDFCDERTF 30 Cock CHCDFCSDHCDEGFI 30 * . * * * * * * * : * * :* : : . The output shud be where there is : and . It shud tell that S7G becoz : is at 7 number and count start from A . smiliarly F17H becoz . is at 17 number so output shud be like where there is : and . S7G F17H etc... J11I Last edited by cdfd123; 02-27-2008 at 07:43 AM.. Reason: some color text in the question |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|