in reply to Re^3: Searching for two lines that begin with the same string
in thread Searching for two lines that begin with the same string
Not sure why it does this for me...[tgrossne@sl6archive1:SavvisCustom, 01:26 PM, Mon Dec 18]>cat routes.t +xt | wc 3940 13780 311528 [tgrossne@sl6archive1:SavvisCustom, 01:26 PM, Mon Dec 18]>perl -ne '/^ +(\S+)/;if($S{$1}){print$S{$1}unless$s{$1}++;print}$S{$1 }=$_' routes.txt | wc 3939 13778 311505
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Searching for two lines that begin with the same string
by shmem (Chancellor) on Dec 18, 2006 at 21:06 UTC |