perl -ne '/^(\S+)/;if($s{$1}){print$s{$1}unless$S{$s{$1}}++;print}$s{$ +1}=$_' file
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
In reply to Re: Searching for two lines that begin with the same string
by shmem
in thread Searching for two lines that begin with the same string
by tgrossner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |