Try this: cat test.txt | sed "N;s/\n/,/"
On Thu, Jun 18, 2015 at 12:44 PM <[email protected]> wrote: > greetings i have a file like this > > > > > *abc/qwe/123/ertJun 18 2015 13:24:03 EDTadc/gwe/153/poiJun 18 2015 > 14:24:03 EDT* > etc... > > i want to format it like this like a csv comma separated list. > > > *abc/qwe/123/ert,Jun 18 2015 13:24:03 EDTadc/gwe/153/poi,Jun 18 2015 > 14:24:03 EDT* > > suggestions please > Thanks again,. > > -- > -- > You received this message because you are subscribed to the Linux Users > Group. > To post a message, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit our group at > http://groups.google.com/group/linuxusersgroup > References can be found at: http://goo.gl/anqri > Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules > or http://cdn.fsdev.net/List-Rules.pdf) > > --- > You received this message because you are subscribed to the Google Groups > "Linux Users Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Jeremiah Bess -- -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup References can be found at: http://goo.gl/anqri Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or http://cdn.fsdev.net/List-Rules.pdf) --- You received this message because you are subscribed to the Google Groups "Linux Users Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
