#!/bin/awk -f # image info # plan 9 images only /^compressed$/ { next } { print $1, "(" $4-$2 " " $5-$3 ") (" $2, $3, $4, $5 ")" nextfile }