I have a file, PoolReport.txt. Here is some sample data: Thu, Aug 27, 2015 7:56:29 AMPoolName,Total GB,Used GB ,Available GB ,Percent FullOracle-RAID10,6432.539,6179.295,253.244,96.063VM_File,45210.379,40726.389,4483.991,90.082Oracle-RAID5,15025.039,12289.707,2735.332,81.795I need it in the following format. Can somebody help me using shell script?Thu, Aug 27, 2015 7:56:29 AMPoolName       Total GB   Used GB    Available GB   Percent FullOracle-RAID10  6432.539   6179.295   253.244        96.063VM_File        45210.379  40726.389  4483.991       90.082Oracle-RAID5   15025.039  12289.707  2735.332       81.795With my limited knowledge, I managed to produce a better format (as below), but it does not satisfy the needs.awk -F , '{print $1\t $2\t $3\t $4\t $5\t }' PoolReport.txt Thu      Aug 27  2015 7:56:29 AMPoolName        Total GB         Used GB        Available GB    Percent FullOracle-RAID10   6432.539        6179.295        253.244 96.063VM_File 45210.379       40726.389       4483.991        90.082Oracle-RAID5    15025.039       12289.707       2735.332        81.795
Need output in a good format using shell script
shell;shell script