Quote:
Hello all i have a problem...
The problem is in your head !
That's what append when you use a commend without knowing what it does.
Said otherwise, your program works perfectly, you just don't know what you asked.
Advice/solution:
-Read reference documentation about
Echo
more generally, read documentation about any command /function you use, before using it. This will avoid asking stupid question like yours.
There is no correction to a program that works perfectly as you requested. The only problem is that you don't know what you requested.
[Update]
You need to read documentation about escaping chars in echo.
To make things clear, you should have presented your question in another way.
I have this code
CODE
which produce this
WRONG RESULT
And I need
RIGHT RESULT
That should have made clear what is the problem for every one.