docs(better-cat): ask directly to print the line numbers

This commit is contained in:
eslopfer 2023-03-08 18:01:51 +00:00
parent 883d73cd09
commit 77df8ac2a4
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
Create a script `better-cat.sh` that will behave similarly to the `cat` command, but with additional functionality.
The script should accept any number of filenames as arguments, and it should print the content of each file to the standard output. If no arguments are provided, the script should print the content of all files in the current directory.
The script should accept any number of filenames as arguments, and it should print the content of each file to the standard output. If no arguments are provided, the script should print the content of all files in the current directory. Before each line it should print the line number followed by a colon(`:`) and a space as in the usage examples.
The script should also support the following options: