![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need to extract field of characters in a line | jansat | Shell Programming and Scripting | 3 | 05-22-2008 06:44 AM |
| Shell Script using Join, empty field help! | tibbyuk | UNIX for Dummies Questions & Answers | 1 | 02-25-2008 08:33 AM |
| extract data from xml- shell script using awk | nishana | Shell Programming and Scripting | 5 | 07-16-2007 06:20 AM |
| Grep for NULL for a specific field in a unix file | sureshg_sampat | UNIX for Dummies Questions & Answers | 5 | 11-24-2006 05:21 AM |
| How to extract data using UNIX shell script? | desiondarun | Shell Programming and Scripting | 3 | 08-09-2006 05:14 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
extract field of characters after a specific pattern - using UNIX shell script
Hello,
Below is my input file's content ( in HP-UX platform ): ABCD120672-B21 1 ABCD142257-002 1 ABCD142257-003 1 ABCD142257-006 1 From the above, I just want to get the field of 13 characters that comes after 'ABCD' i.e '120672-B21'... . Could you please let me know the shell script that I have to use? Thanks |
| Forum Sponsor | ||
|
|
| Thread Tools | |
| Display Modes | |
|
|