3 # Re-align the columns in insns.dat
6 @cols = (0, 16, 40, 72);
8 while ($line = <STDIN
>) {
10 if ($line !~ /^\s*(\;.*|)$/) {
11 ($ln = $line) =~ s/\s+$//;
12 @fields = split(/\s+/, $line);
13 if (scalar(@fields) == 4) {
16 for ($i = 0; $i < scalar(@fields); $i++) {
17 if ($i > 0 && $c >= $cols[$i]) {
21 while ($c < $cols[$i]) {
26 $c += length($fields[$i]);