[ros-bugs] [Bug 4509] CMD: 'echo' command adds a space to its string argument

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Tue May 19 23:02:40 CEST 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4509


jeanmichel.123 <jeanmichel.123 at free.Fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jeanmichel.123 at free.Fr
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #1 from jeanmichel.123 <jeanmichel.123 at free.Fr>  2009-05-19 23:02:39 CET ---
I conform that cmd echo xxxx >c:\1.txt append a space after the xxxx in file
text.
This can be checked with notepad.exe.

echo xxxx>c:\1.txt do not.

On linux, echo does not append space.

I do not know what windows do, but it might seams pretty not to add such a
space.


This might come from command line splitting. (base/shell/cmd/parser.c).

But first, windows bahaviour might be confirmed?


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Ros-bugs mailing list