Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


Closed Thread
  Search this Thread
Old 09-05-2002, 09:27 PM   #1
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
file1 file2>file3... And then file3, the output is on two separate lines.
That is;
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 luck.
I have tried... info luck.
I have tried asking other 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, 09:42 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 257Reputation: 257Reputation: 257
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.

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 09:38 AM
Simple query sachinh Linux - Hardware 2 12-29-2004 12:42 AM
a simple query sachinh Linux - Security 1 11-29-2004 07:13 AM
Simple MySQL Query Help xianzai Programming 3 11-01-2004 06:10 AM
a simple text output query dougp Linux - Newbie 1 09-05-2002 11:45 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:41 PM.

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