rubysecurity.org

Anecdotes from a Linux Systems Administrator. /root

Home About Books Blog Portfolio Archive
16 December 2011

Vim - Removing the last character of each line in a file

by Alpha01

In command mode:

:%s/.$//g
Tags: [ vim ]