How to shave off last character using sed?

Viewed 83434

That is, going from ABCD -> ABC

2 Answers
Related