$ mv local.h local.h.orig $ sed 's/undef.*USG/define USG/' local.h.orig > local.h $ cat << EOF >> local.h #define CC "gcc" EOF $ make $ su # make install