LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to make the output in multiple row become single row? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-make-the-output-in-multiple-row-become-single-row-4175470070/)

ahpin 07-18-2013 09:14 AM

how to make the output in multiple row become single row?
 
hi all, i would like to know how to get the output from below become a single row. example:

[RecordA]
[RecordB]
[RecordC]
[RecordD]

become:
RecordA RecordB RecordC RecordD

thanks..

vmccord 07-18-2013 09:36 AM

What application is creating the output: bash, a database?

ahpin 07-18-2013 10:07 AM

problem solved by using tr command in linux.
http://stackoverflow.com/questions/1...ut-to-one-line

grail 07-18-2013 06:41 PM

Please mark the issue as SOLVED once you have a solution.

David the H. 07-19-2013 07:49 AM

It might still help if you answered vmccord's question. Depending on the answer, it might be possible to do what you want without needing to call on an additional external tool like tr.

And that might also be of help to other readers who come across this thread in the future.


All times are GMT -5. The time now is 04:31 AM.