3 ms·
Re: bat > cat Cat is just a tool to dump files to stdout and maybe concatenate them. If you want paging, syntax highlighting, etc, you probably want a tool to
by andrepd 8y ago
Re: bat > cat
Cat is just a tool to dump files to stdout and maybe concatenate them. If you want paging, syntax highlighting, etc, you probably want a tool to replace `less`, not `cat`.
- Nelson69 8y agoI don't know about bat vs cat, but fcat is actually kind of impressive.. https://github.com/mre/fcat https://github.com/mre/fcat
- hultner 8y agoview is also perfectly good, it's vim's pager.
- yaakushi 8y agoIsn't "view" just an alias to invoke vim on read-only mode (i.e. you can still edit the text, do anything else you can do on vim and then save the contents to another file instead of the original file)?
- Pete_D 8y agoThe man page suggests it's equivalent to "vim -R". I usually use that because "view" seems to ignore my .vimrc for some reason.