[Gllug] strip invalid email addresses

Josef Assad josef.assad at gmail.com
Fri Dec 7 18:20:59 UTC 2007


Progga wrote:
> On Fri, Dec 07, 2007 at 07:55:17PM +0200, Josef Assad wrote:
>> Progga wrote:
>>> On Fri, Dec 07, 2007 at 05:21:46PM +0000, countd wrote:
>>>
>>> $ cat list.txt | sed -n "/@.*/p"
>> You win the "Useless Use of cat Award"! :)
> 
> Thanks for the award Sir :-)
> 
>> Look at the -i argument in 'man sed'
> 
> I am fully aware of it :-(

I hereby LART myself; I meant to say you could just supply the filename
on the command line... that'll teach me to go handing out dubious awards...
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list