port coverage tricks to bash