![]() |
|
|
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 |
| c program to extract text between two delimiters from some text file | kukretiabhi13 | High Level Programming | 7 | 12-03-2008 06:29 PM |
| how to extract columns from a text file | ihot | Shell Programming and Scripting | 16 | 05-06-2008 12:33 AM |
| How to extract text from xml file | chrisf | Shell Programming and Scripting | 3 | 09-01-2007 03:25 PM |
| merging few columns of two text files to a new file | kolvi | Shell Programming and Scripting | 4 | 09-15-2005 05:34 AM |
| How to extract data from a text file | negixx | Shell Programming and Scripting | 1 | 07-19-2005 10:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Extract text in 2 columns of output file.
Hello!!
I have the text file with following format... --SubTotal-----------------------------------0--161---------------44---13739369-67--- --SubTotal-----------------------------------0--147---------------0----49643---1---- --SubTotal-----------------------------------0--161---------------20---13750219-31--- --SubTotal-----------------------------------0--147---------------0----49679---0---- I want to extract bold figures in two different columns of output file. Line 1 and 3 in 1st column while line 2 and 4 in second column. Please help me in this regard. Is it possile that i pass my test file in an argument of the script. Thanks a lot. BR Danish |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|