![]() |
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 |
| Extract string between <> | rakeshou | Shell Programming and Scripting | 14 | 11-21-2007 01:10 PM |
| How to Extract string? | namrata5 | High Level Programming | 2 | 10-24-2007 03:17 AM |
| Extract digits at end of string | offirc | Shell Programming and Scripting | 6 | 11-20-2006 11:57 AM |
| Extract String | sehgalniraj | UNIX for Dummies Questions & Answers | 1 | 09-25-2006 12:35 PM |
| How to extract a portion of a string from the whole string | ds_sastry | UNIX for Dummies Questions & Answers | 2 | 09-29-2001 10:40 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
the best i can do so far....
$ cat aa {1:5TIROEKUDRSH0027000755}{2:O4351423051114PATTERN40130656410423N} {1:5TIROEKUDRSH0027000755}{2:O4351423051114PATTERN50130656410423N} {1:5TIROEKUDRSH0027000755}{2:O4351423051114PATTERN60130656410423N} $ while read all > do > expr substr "$all" 44 12 > done < aa PATTERN40130 PATTERN50130 PATTERN60130 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|