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 20:39:51 +0900
- From: "Stephen J. Turnbull" <stephen@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>
Edmund Edgar writes: > I've sometimes found I can solve line-return-related problems by doing > perl -i.bak -pe 's/\n/\n/g' myfile.txt If that works, try perl -i.bak -p myfile.txt next time, and enjoy savings of 13 keystrokes. > Reading this thread, I think I'm finally starting to understand why > that works. Nope. There is no explaining why a Perl script works. Either it does or it doesn't, but explanations are right out. Especially for my version of your script. Python-rules-ly y'rs,
- 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?
- Next by Date: Re: [tlug] Dinky silent Linux box
- 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