sort +0.4 -0.8 < macfontx.mac-order > macfontx.dec-order sort -f +0.12 -0.80 < macfontx.mac-order > macfontx.nam-order echo "Special Graphics tallies:" echo -n "0: " ; grep "SG" macfontx.mac-order | cut -c 47 | grep "0" | wc -l echo -n "1: " ; grep "SG" macfontx.mac-order | cut -c 47 | grep "1" | wc -l echo -n "2: " ; grep "SG" macfontx.mac-order | cut -c 47 | grep "2" | wc -l echo echo "DEC Tech tallies:" echo -n "0: " ; grep "TEC" macfontx.mac-order | cut -c 47 | grep "0" | wc -l echo -n "1: " ; grep "TEC" macfontx.mac-order | cut -c 47 | grep "1" | wc -l echo -n "2: " ; grep "TEC" macfontx.mac-order | cut -c 47 | grep "2" | wc -l echo echo "All categories:" echo -n "0: " ; cut -c 47 macfontx.mac-order | grep "0" | wc -l echo -n "1: " ; cut -c 47 macfontx.mac-order | grep "1" | wc -l echo -n "2: " ; cut -c 47 macfontx.mac-order | grep "2" | wc -l echo -n "Tot" ; wc -l macfontx.mac-order