Re: [opensuse] bash -- Where in the heck are "^M...80 spaces...^M" getting written by tee?? (can I catch it?)



David C. Rankin said the following on 09/28/2011 07:09 PM:

# write stuff
echo -e "\nTape: $tapect -- \n">> $tmpapp
echo -e "\nCapture Started: $(date '+%b %e %T')\n" | tee -a $tmpfn

Are you sure that you don't mean

echo -n -e "\nTape: $tapect -- \n">> $tmpapp
echo -n -e "\nCapture Started: $(date '+%b %e %T')\n" | tee -a $tmpfn

And you do realise that what you see on the screen and what goes into the file in the second case are two different things.

As for the 80 spaces ... Dunno.

--
If you are using Windows 2000, there is no chance that DES is your
weak link. The only justification for using 3DES is that it is cheap.
-- William Hugh Murray, CISSP
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx