Browse Source

docs(better-cat): highlight options

pull/1853/head
eslopfer 2 years ago
parent
commit
87a81e542c
  1. 8
      subjects/devops/better-cat/README.md

8
subjects/devops/better-cat/README.md

@ -8,11 +8,11 @@ The script should accept any number of filenames as arguments, and it should pri
The script should also support the following options:
- -c: If this option is provided, the script should exclude all lines that begin with the # character.
- -l: If this option is provided, the script should print the line number before each line of output.
- -r: If this option is provided, the script should print a summary line at the end of the output, indicating the total number of lines and characters printed.
- `-c`: If this option is provided, the script should exclude all lines that begin with the # character.
- `-l`: If this option is provided, the script should print the line number before each line of output.
- `-r`: If this option is provided, the script should print a summary line at the end of the output, indicating the total number of lines and characters printed.
If both -c and -l are provided, the line number should include only non-comment lines.
If both `-c` and `-l` are provided, the line number should include only non-comment lines.
### Usage

Loading…
Cancel
Save