fork download
  1. #!/bin/bash
  2.  
  3. # This command is designed to take input from stdin
  4. somecommand --someoption
  5.  
  6. read r s yourinput <<EOF
  7. "$yourinput"
  8. EOF
Success #stdin #stdout #stderr 0.02s 5312KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
prog.sh: line 4: somecommand: command not found