How to make Bash scripts read from stdinI needed to write some Bash scripts on Linux that read the input from stdin or a file passed as an optional argument, but couldn't figure...How to make Bash scripts read from stdin