When i open a file with vi it colors the sourcecode.
But can i start vi and pipe the output with color info to the console and have vi stopped without having to manually do ":q" ?
I.e. use vi like cat/less/more ?
But can i start vi and pipe the output with color info to the console and have vi stopped without having to manually do ":q" ?
I.e. use vi like cat/less/more ?