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 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.