Re: howto join lines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux