Removing last two chars from each line in a text file

Posted by syker on Stack Overflow See other posts from Stack Overflow or by syker
Published on 2010-04-08T03:23:22Z Indexed on 2010/04/08 3:33 UTC
Read the original article Hit count: 315

Filed under:

How do I remove the last two chars from each line in a text file using just Linux commands?

Also my file seems to have weird ^A delimiters in it. What char does ^A correspond to?

© Stack Overflow or respective owner

Related posts about linux