![]() |
Hello and Welcome from 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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| extract a string from main string | madhu.it | Shell Programming and Scripting | 1 | 10-06-2008 05:05 AM |
| extract a sub string from a main string | madhu.it | Shell Programming and Scripting | 5 | 10-04-2008 03:22 AM |
| How to extract variable number from a String | vitesse | Shell Programming and Scripting | 19 | 09-22-2008 10:03 AM |
| extract from string variable into new variables | Sniper Pixie | UNIX for Dummies Questions & Answers | 2 | 03-03-2006 10:49 AM |
| How to extract a portion of a string from the whole string | ds_sastry | UNIX for Dummies Questions & Answers | 2 | 09-29-2001 11:40 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Using GREP to extract variable following a string
Hello,
I'm running calculations and I need to extract a specific number from a output file. So far I've only been able to GREP entire lines containing the string: '1 F=' . I would like to go a step further and extract just the number following '1 F='. The entire line looks like: 1 F= -.13250138E+03 E0= -.13249556E+03 d E =-.174650E-01 mag= 35.2157 The number I would like to extract is in red. Thanks for any help. modey3 Last edited by modey3; 02-08-2009 at 10:08 PM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|