Cyrus
January 7th, 2006, 09:14 PM
Hi,
when I am using a shell program it returns its output always with a carriage return. I want to remove this, because I am piping everything into a textfile, where no return should be. A simple example:
echo hallo >> test
echo hallo >> test
The file test looks now like this:
hallo
hallo
I need:
hallohallo
Maybe cut helps?
echo hallo | cut ... >> test
when I am using a shell program it returns its output always with a carriage return. I want to remove this, because I am piping everything into a textfile, where no return should be. A simple example:
echo hallo >> test
echo hallo >> test
The file test looks now like this:
hallo
hallo
I need:
hallohallo
Maybe cut helps?
echo hallo | cut ... >> test