![]() |
|
|
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 |
| Delete repeated rows from a file | tonet | Shell Programming and Scripting | 8 | 04-08-2008 10:42 AM |
| Repeated execution of Autosys Jobs | Data469 | Shell Programming and Scripting | 2 | 02-28-2008 04:24 PM |
| matching repeated character | robsonde | Shell Programming and Scripting | 5 | 12-13-2007 05:43 PM |
| how to find a word repeated in a file | gurukottur | UNIX for Dummies Questions & Answers | 4 | 08-24-2006 05:53 AM |
| Repeated printF causes annoyance with do | C|[anti-trust] | High Level Programming | 8 | 04-26-2005 03:08 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Get rid of repeated entries.
I have the following problem. The file contains many lines already sorted according to their first arguments. Some of these first arguments are repetitive. For each first argument value, I need to keep the first and the last line that contain it. For example,
... 1 234 1 348 ... ... 5 483 ... ... 7 132 7 154 7 168 7 244 ... will become ... 1 234 1 348 ... ... 5 483 ... ... 7 132 7 244 ... I am really pulling my hair . Could any expert help me here ? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|