Shear flow instabilities in pipes and channels