Delete lines based on a length limit
The following command deletes lines which have less than 10 characters. sed '/.\{10\}/!d'
This is a blog for collecting all sorts of things, so that I don't have to look for the same thing again and again in google.