Line number and negated search combination in sed I have a csv whose tail is missing column data, e.g. the following: