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

Re: howto join lines




--- On Wed, 10/1/08, Dave Burns <tburns hawaii edu> wrote:

> From: Dave Burns <tburns hawaii edu>
> Subject: Re: howto join lines
> To: "Community assistance, encouragement, and advice for using Fedora." <fedora-list redhat com>
> Date: Wednesday, October 1, 2008, 5:51 PM
> echo 'textone
> texttwo
> something'|xargs
> textone texttwo something
> 
> 
> On Wed, Oct 1, 2008 at 5:13 AM, David Hláčik
> <david hlacik eu> wrote:
> > Hello guys,
> >
> > i want to have those lines joined to one line with
> spaces
> >
> > Before :
> >
> > textone
> > texttwo
> > something
> >
> > After :
> >
> > textone texttwo something
> >
> > So far i have been using fmt -w 2000 , but this is
> limited to 2000
> > characters. There must be something better.
> >
> > Thanks in advance!
> >
> > David
> >
> > --
> > 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
> >
> 
> 
> 
> -- 
the good old command line "cat" was invented (I am told) to concatenate!

need to know the whole problem first! editing, scripting, programming

> ———————————————————————-
> Q: Why should this email be 5 sentences or less?
> A: http://five.sentenc.es
> 
> -- 
> 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


      



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