Joined: 08 Jun 2005 Posts: 4529 Location: Arizona, U.S.A.
Posted: Fri 02 Apr 2010, 16:01 Post_subject:
Hi rumburak24; If I understand you correctly you want to print out 2 lines without a new line?
2 ways come to my mind:
This outputs the text without a new line: echo -c (text)
Or a list ( more than one line ) can be output without the newlines by: echo $LIST
Having double quotes echos the new lines, like this: echo "$LIST"
But without the double quotes it doesn`t echo the new lines: echo $LIST
If this isn`t what you wanted, please restate your Q...