![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| Extracting part of a string | sam_78_nyc | Shell Programming and Scripting | 8 | 04-25-2007 07:37 PM |
| Extracting part of the basename | madhunk | Shell Programming and Scripting | 3 | 02-13-2007 11:54 AM |
| extracting from tar.bz2 | Raom | UNIX for Advanced & Expert Users | 1 | 03-07-2006 10:33 AM |
| extracting uncommon part between two files | sabyasm | Shell Programming and Scripting | 2 | 11-06-2005 01:25 PM |
| extracting from a string | preetikate | Shell Programming and Scripting | 1 | 03-11-2004 08:08 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
need help extracting this part
Code:
JADE TRADER 143W MYPEN 40 HC M X10 28 7 1 0
MYPEN 20 GP X X10 15 2 1 0
MYPEN 40 GP X X10 28 7 1 0
MYPEN 20 GP L X10 15 2 1 0
BUNGA TERATAI 3 5055 NZLYT 20 GP X X11 17 8 1 0
MOL SPLENDOR 0307A MUPLU 40 HC X X11 10 2 2 0
MUPLU 40 HC U X11 10 2 1 0
JADE TRADER 143W MYPEN 40 HC M X10 28 7 1 0 JADE TRADER 143W MYPEN 20 GP X X10 15 2 1 0 JADE TRADER 143W MYPEN 40 GP X X10 28 7 1 0 JADE TRADER 143W MYPEN 20 GP L X10 15 2 1 0 BUNGA TERATAI 3 5055 NZLYT 20 GP X X11 17 8 1 0 MOL SPLENDOR 0307A MUPLU 40 HC X X11 10 2 2 0 MOL SPLENDOR 0307A MUPLU 40 HC U X11 10 2 1 0 so how can I achieve this result, given that I do not know how many subsets are there for each of the first field..? |
|
||||
|
oh nvm, because the data i post is just a part of the whole file actually..i was trying to find some other way to do it
|
| Sponsored Links | ||
|
|