Hi,
I'm working on some code where I'm piping my output to less and once the user views less and quits out of it, they will return to the program.
However, on some larger files that are viewed in less, once you quit out it just exits back to the command prompt. But, if you page all the way down to the file till you see (END) and then quit out, it will bring the user back to the program.
So my question is, how can I make it so whenever the user quits out of less it will ALWAYS bring them back to the program.
Thanks