[Gllug] Most Recent File

Stig Brautaset stig at brautaset.org
Tue Nov 22 21:10:57 UTC 2005


On 22 Nov 2005, at 16:29, Benedikt Heinen wrote:
> sed -e 's/.* [1-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9] 
> [0-9][0-9][0-9][0-9] //'

Oh. my. god.

Try this instead:

	sed -e 's/.* [1-9][0-9]{13} //'

Disclaimer: you might have to quote the {}s on the commandline. Might  
only work with gnu sed. Might give you boils. I might have missed the  
point altogether. Have a nice day.

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




More information about the GLLUG mailing list