bash compare script plus last place I was working in