[Pdx-pm] Simplistic, yet complicated question....

Brian Ingerson ingy at ttul.org
Mon Dec 9 13:07:52 CST 2002


On 09/12/02 10:59 -0800, Michael P wrote:
> On Mon, 9 Dec 2002, aj wrote:
> 
> > Does this make better sense?
> 
> Yeah.
> 
> s/  .*$// will do everything you so-rightly want.

This might be slightly safer:

  s/\s\s.*//

\s covers tabs as well as spaces. the $ anchor is redundant here.

Cheers, Brian



More information about the Pdx-pm-list mailing list