AWK

Show ASCII table

#! /usr/bin/awk -f 
BEGIN { 
    for (i=0; i<16; i++) { 
        for (j=32+i; j<128; j+=16) { 
            if (j == 32) { x = "SPC" } 
            else if (j == 127) { x = "DEL" } 
            else { x = sprintf("%c", j) } 
                    printf("%3d/0x%02X: %-5s", j, j, x) 
        } 
print "" 
     } 
}

Stars and Cartesian coordinates printed in nice columns

awk -F, '{printf "%-25s %8.3f %8.3f %8.3f\n", $1, $2, $3, $4}' hipparcos.csv