[ale] some other regexp

Wandered Inn esoteric at denali.atlnet.com
Mon Jun 28 00:32:28 EDT 1999


Ryan Bridges wrote:
> 
> I need to strip the Linefeeds out of a file.  I discovered that this is
> not a newline (\n) but something else.  I have tried everything I can
> think of and connot get rid of them. Anyone have any ideas?  PERL didn't
> work so far and I am not good with sed/awk...
> Thanks again in advance,

chop() in perl will remove the last character of whatever it is applied
to.  So chop($_); should work for you.

> Ryan
> 
> ----------------------------------------------------------------
> Ryan Bridges <ryan at linuxgeneralstore.com>
> B.Gates : quality software :: R.McDonald : gourmet cuisine
> ----------------------------------------------------------------

--
Until later: Geoffrey		esoteric at denali.atlnet.com

It should be illegal to yell "Y2K" in a crowded economy.
	-- Larry Wall, creator of the programming language Perl






More information about the Ale mailing list