But since lots of unix heads are frequenting this list I thought I'd
try my luck nevertheless.
If I have a file with content
i.e. each line contains simply its line number, then it's quite easy
to convert it into
using python. The pattern is that the first line is deleted, then 2
lines are kept, 3 lines are deleted, 2 lines are kept, 3 lines are
deleted, etc, etc.
But I couldn't find a way to do this with sed and since the whole
operation is currently done with a bash script I'd hate to move to
python just to do this simple task.
What would be the sed equivalent?
Psss, psss, put it down! - http://www.cafepress.com/putitdown