![]() |
|
|
|
|
|||||||
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with GREP. | syndex | Shell Programming and Scripting | 2 | 07-11-2007 10:44 AM |
| Grep Problem | avadhani | UNIX for Dummies Questions & Answers | 8 | 06-23-2005 11:58 AM |
| grep problem | svennie | UNIX for Dummies Questions & Answers | 5 | 11-08-2004 12:29 AM |
| Grep Problem | lesstjm | Shell Programming and Scripting | 2 | 10-27-2004 07:13 AM |
| Grep problem | odogbolu98 | Shell Programming and Scripting | 3 | 02-18-2003 11:53 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
grep problem
I know that grep will display the matched line, but how about if I want to get the matched characted, for example:
file.txt contains: Hello 123 World This is a56 letter34 56are you su345re ? 1000 yes I do I want to list all instances of digits that appear e.g: 123 56 34 56 345 1000 do I have to use sed ? Thanks ! |
| Forum Sponsor | ||
|
|
| Thread Tools | |
| Display Modes | |
|
|