Like TYPE command, but when it appears in the prompt enumerates.
For example:
My file.txt is this:
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Vestibulum feugiat commodo magna aliquis nulla in ultrices ac.
Vulputate velit level kiosk erat feugiat molestie.
And when it is printed at the prompt (like "type file.txt") to appear this way:
1. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
2. Vestibulum feugiat commodo magna aliquis nulla in ultrices ac.
3. Vulputate velit level kiosk erat feugiat molestie.
That is, the file file.txt is unchanged. Only the prompt will appear enumerated.
Is there any parameter of the TYPE command or a function that makes this possible?