[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: howto join lines
- From: "Patrick O'Callaghan" <pocallaghan gmail com>
- To: fedora-list redhat com
- Subject: Re: howto join lines
- Date: Wed, 01 Oct 2008 23:31:57 -0430
On Wed, 2008-10-01 at 21:04 -0400, Chris Tyler wrote:
> > > ...Which is why I like the translate I proposed earlier:
> > >
> > > tr "\012" " " <multi_line_file
> >
> > tr -d "\012" < multi_line_file
> >
> > is slightly more elegant. Of course this assumes the file is ASCII
> or
> > similar.
> >
> > poc
>
> But the OP said:
>
> > i want to have those lines joined to one line with spaces
True, I'd missed that.
poc
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]