[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] TPJ One-Liner #39



On Wed, Jul 07, 1999 at 07:11:18PM -0700, Andy Jacobs wrote:
> > A part from the extra white space (yes, that bugs me for
> some reason :-).
> 
> Can't you get rid of it by removing the "" at the end (and thereby save an
> additional 3 characters)?  I.e.,
> 	perl -ne'$,=$";print/(\b[A-Z]\w*)/g'
> 

WHWYTI?  (What happened when you tried it?)

Without the null string at the end, the last word found in each line will be
concatenated with the first word found in the next line.

Ronald

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe