|
|
@@ -326,12 +326,17 @@ elif [ x"$1" = x"find" ]; then |
|
|
|
cnt=$(wc -l < selection) |
|
|
|
awk ' |
|
|
|
BEGIN { |
|
|
|
fmtstr = "%2s %-3s %-15s %-18s %-18s %-8s %-7s\n" |
|
|
|
printf(fmtstr, "#", "TYP", "RELEASE", "ARCH", "PLATFORM/TYPE", "DATE", "SVNREV") |
|
|
|
# xzcat snapshot.complete.idx.xz | ./maxcol.awk |
|
|
|
# xzcat snapshot.complete.idx.xz | awk '{ print $3}' | sort -u |
|
|
|
# note that for powerpc-* that first part is dropped |
|
|
|
fmtstr = "%2s %-3s %-15s %-14s %-18s %-8s %-11s\n" |
|
|
|
printf(fmtstr, "#", "TYP", "RELEASE", "ARCH", "PLATFORM/TYPE", "DATE", "REV") |
|
|
|
cnt = 1 |
|
|
|
} |
|
|
|
|
|
|
|
{ |
|
|
|
if ($3 ~ /^powerpc-/) |
|
|
|
$3 = substr($3, 9) |
|
|
|
if ($4 == "xxx") |
|
|
|
plt=$7 |
|
|
|
else |
|
|
|