2
votes
3answers
1k views

How do I delete a random line in a text file from a given range?

I have a text file and I want to delete random lines from a range. Here is an example: Line 1: abcd Line 2: efgh Line 3: ijkl Line 4: mnop Line 5: qrst Line 6: uvwxyz Out of these six, I want ...
5
votes
8answers
919 views

Cloning Textmate's functionality with Vim

Tips and advice on how to clone Textmate's functionality in Ubuntu. I've done some research on this in the past and I know this information is valuable to the community.