![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Jul 2004
Posts: 8
Rep Power: 0
![]() |
Hi
Is there any way with grep to show me only the last pattern that matches and not all ? For example for a file with linux 56 slackware 32 debian 34 linux 2 redhat 9 and $> grep linux filename show me only --> linux 2 and not linux 56 linux 2 Thanks |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|