Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1173615

Summary: Echo command creates extra spaces
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: CLIAssignee: Alexey Loubyansky <olubyans>
Status: CLOSED WONTFIX QA Contact: Petr Kremensky <pkremens>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: brian.stansberry, thofman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-01 12:28:38 UTC Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Kremensky 2014-12-12 14:14:10 UTC
Description of problem:
 There is an inconsistency in output of echo command.

Version-Release number of selected component (if applicable):
 6.4.0.DR13

How reproducible:
 Always

Steps to Reproduce:
 1. Start standalone and connect to CLI

Actual results:
[standalone@localhost:9999 /] echo one two three
one    two    three  
[standalone@localhost:9999 /] echo 'one two three'
'one    two     three'  
[standalone@localhost:9999 /] echo "one two three"
"one two three"

Expected results:
[standalone@localhost:9999 /] echo one two three
one two three
[standalone@localhost:9999 /] echo 'one two three'
'one two three'  
[standalone@localhost:9999 /] echo "one two three"
"one two three"

Comment 1 Alexey Loubyansky 2014-12-12 14:16:43 UTC
Yes, the original implementation prints the arguments in columns. Which doesn't make sense now.

Comment 2 Alexey Loubyansky 2014-12-18 14:14:59 UTC
Changing this to enhancement since the original implementation on purpose displayed the results in columns.