I follow the first part of the idea but don't know what you mean about the end of the line bit.
_________________________