Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] When is a line feed really a line feed?
- Date: Sat, 04 Dec 2010 14:33:33 -0700
- From: "David J Iannucci" <jlinux@example.com>
- Subject: Re: [tlug] When is a line feed really a line feed?
- References: <4CF92E9D.3020004@example.com><1291400314.14141.1408520355@example.com> <AANLkTikUuvvtH_aeBvf0mHXL+2hr1Af=0GfTvSrkwcUX@example.com>
On Sat, 04 Dec 2010 17:04 +0900, "Edmund Edgar" <lists@example.com> wrote: > I've sometimes found I can solve line-return-related problems by doing > perl -i.bak -pe 's/\n/\n/g' myfile.txt Furthermore, on my perl 5.10.1, this script does *not* change the line termination. I tried it on a file with Windows-style CRLF, and it preserved the CRLF. This is in keeping with the docs (man perlrun). One wonders if, as they develop the language (which seems to be happening at a rapider pace in recent years than before), they are eliminating some of the more pathological kinds of magic that were never really intended to work... Dave
- References:
- [tlug] When is a line feed really a line feed?
- From: Dave M G
- Re: [tlug] When is a line feed really a line feed?
- From: David J Iannucci
- Re: [tlug] When is a line feed really a line feed?
- From: Edmund Edgar
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] When is a line feed really a line feed? [SOLVED]
- Next by Date: Re: [tlug] When is a line feed really a line feed? [SOLVED]
- Previous by thread: Re: [tlug] When is a line feed really a line feed?
- Next by thread: Re: [tlug] When is a line feed really a line feed?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links