KdV-like equations for fluid dynamics