[Gllug] strip invalid email addresses

Josef Assad josef.assad at gmail.com
Fri Dec 7 17:57:34 UTC 2007


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"! :) From 'man sed':

[OPTION]... {script-only-if-no-other-script} [input-file]...




JA
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list