In Linux shell bash script, how to print to a file at the same line ?
At each iteration,
I used
echo "$variable1" >> file_name,
echo "$variable2" >> file_name,
but echo insert a newline so that it becomes
$v1
$v2
not
$v1 \tab $v2
"\c" cannot eat newline.
this post BASH shell script echo to output on same line
does not help .
thanks