LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   maybe NOT so simple an output query (https://www.linuxquestions.org/questions/linux-general-1/maybe-not-so-simple-an-output-query-29685/)

dougp 09-05-2002 08:27 PM

maybe NOT so simple an output query
 
Sorry; I posted this in the Newbie section, but only received one response, so I am re-posting
my problem here.

How do I output on a single line? For example; if I...echo "dougp">file1...and I...echo "Douglas">file2, when I...cat
file1 file2>file3... And then I...cat file3, the output is on two separate lines.
That is;
dougp
Douglas
How do I get it to display on a single line? Like this;
dougp Douglas ....or.... dougp, Douglas
Today is my third day playing with Unix(Linux on my Mac), yet I'm stymied by this simple problem.

P.S.; I have tried... man cat......no luck.
I have tried... info cat.......no luck.
I have tried asking other students............no luck.
The instructor doesn't know either.

P.P.S.; I tried Sandy's suggestion, but the output is from "cat" not from "echo".

trickykid 09-05-2002 08:42 PM

Closed too. No need to double post and especially post the same question after its been answered or replied to. Try to keep the existing threads alive.

http://www.linuxquestions.org/rules.php


All times are GMT -5. The time now is 05:30 AM.