LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Closed Thread
 
Search this Thread
Old 09-05-2002, 08:27 PM   #1
dougp
LQ Newbie
 
Registered: Sep 2002
Location: Colorado
Distribution: MKLinux
Posts: 2

Rep: Reputation: 0
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".
 
Old 09-05-2002, 08:42 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
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
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
again simple IPSec protocol query cranium2004 Linux - Security 0 05-04-2005 08:38 AM
Simple query sachinh Linux - Hardware 2 12-28-2004 11:42 PM
a simple query sachinh Linux - Security 1 11-29-2004 06:13 AM
Simple MySQL Query Help xianzai Programming 3 11-01-2004 05:10 AM
a simple text output query dougp Linux - Newbie 1 09-05-2002 10:45 AM


All times are GMT -5. The time now is 02:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration