#!/bin/csh

#90 to 93
foreach year (93 )
ls /home/data/cps-basic/cpsb$year??.Z
zcat /home/data/cps-basic/cpsb$year??.Z | awk 'substr($0,70,1) == 4 || substr($0,70,1) == 8' > /home/data/morg/raw/morg$year
compress /home/data/morg/compress/morg$year
end
