Field positioning in unix for a single output file
Quote:
Quote:
Quote:
Code:
echo -e "\t$Temp \t\t \t $f \t\t\t\t $Temp \t\t\t\t $c" >> output_file Quote:
Code:
Centigrade Fahrenheit Fahrenheit Centigrade |
Hi,
Perhaps you are looking from something like printf. In this example (untested) each integer is given 9 spaces in which it is right justified. Code:
printf ' %9i %9i %9i %9i\n' $Temp $f $Temp $c >> output_file Cheers, Evo2. |
All times are GMT -5. The time now is 01:43 PM. |