Search This Blog

Monday, March 19, 2012

Truncate the last letter in VI

Sometimes when you copy a text file from windows, you may have annoying characters at the end of each line. To remove then

:%s/.$//g

No comments:

Post a Comment