Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add -o output_file option for vimcat
Add -o option to specify output file for vimcat, with this option whether or not output is a terminal is ignored. If output_file is - then the output is written to STDOUT, but without the extra newline if there isn't one on the last line. If there is no -o option, then the normal behavior of passing through to cat if the output is not a terminal is preserved. Update docs/vimpager.md to describe the -o option.
- Loading branch information
Showing
2 changed files
with
49 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters