[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] some other regexp
- Subject: [ale] some other regexp
- From: esoteric at denali.atlnet.com (Wandered Inn)
- Date: Mon, 28 Jun 1999 00:32:28 -0400
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