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@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to