Ambrose Bierce said this quote

Lawsuit: A machine which you go into as a pig and come out of as a sausage.