Dear Bill,

> Or, my favorite, 
>       chop while /\s$/;       ### Omit all trailing whitespace, 
>                               ### including whole blank lines at the end
>                               ### and last CRLF or NL or whatever is holy

IMHO "s/\s*$//" is faster for the author's brain, the
reader's brain and the CPU.

(This is probably off-topic from Ranga's original query.)

peace,                  || Slowly, but surely, women to the fore:
--{kr.pA}               || http://tinyurl.com/x8p2
-- 
Due to the rapidly rising national deficit, we can only afford
delusions of delusions of grandeur until further notice.
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to