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] bash question
- Date: 18 Feb 2003 15:04:11 +0900
- From: bruno raoult <br@example.com>
- Subject: Re: [tlug] bash question
- References: <3E50D037.80506@example.com><20030217132033.577e6ffd.gstewart@example.com><20030217215230.GB29479@example.com><3E518FB3.6010205@example.com> <20030218021940.GA9902@example.com>
On Tue, 2003-02-18 at 11:19, Matt Doughty wrote: > Yeah, you know why? Because intuitively you expect sed to be the right > tool for the job, but it wasn't, and that is largely due to sed's > brain dammaged approach to newlines. A google wasn't going to find > him, and answer. The question he asked was very much a fringe question, > and you have to look no further than my twisted solution, the only one > that actually used sed, to see that the problem exactly easy to figure > out. Just by googling 5 minutes, I found this solution, which works (i.e. it merges lines 1 & 2). sed -e "1 N;s/\n/ /" My 2c about this discussion. br. -- GPG Key: 653514E5 (http://www.raoult.com/gpg) -- Real Men do not use signatures.Attachment: signature.asc
Description: This is a digitally signed message part
- Follow-Ups:
- [tlug] Re: bash question
- From: Tobias Diedrich
- References:
- [tlug] bash question
- From: Jean-Christian Imbeault
- Re: [tlug] bash question
- From: Godwin Stewart
- Re: [tlug] bash question
- From: Josh Glover
- Re: [tlug] bash question
- From: Jean-Christian Imbeault
- Re: [tlug] bash question
- From: Matt Doughty
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] bash question
- Next by Date: Re: [tlug] InstalFun/SuSE/RedHat
- Previous by thread: Re: [tlug] bash question
- Next by thread: [tlug] Re: bash question
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links