title: Read from a file and stdin in Bash
body: <p>I would like to know if I can write a shell script that accepts two arguments <strong>simultaneously</strong>, one from a file and the another one from stdin. Could you give some example please?.</p>
  
  <p>I trying</p>
  
  <pre><code>while read line
     do
     echo "$line"
  done &lt; "${1}" &lt; "{/dev/stdin}"
  </code></pre>
  
  <p>But this does not work.</p>