title: Run "yes 0 | script -c 'ispell text.txt' /dev/null" on Mac OS X
body: <p>I am getting crazy, on my Linux machine I would run:</p>
  
  <pre>yes 0 | script -c 'ispell text.txt' /dev/null</pre>
  
  <p>With any problem. Unfortunately on Mac OS X the command <code>script</code> is not accepting the '-c' option:</p>
  
  <pre><code>script: illegal option -- c
  </code></pre>
  
  <p>I installed with brew: binutils, coreutils and other packages .. but there is no <code>script</code> or <code>script</code> alternative command anywhere. </p>
  
  <p>I found on Google that the package under Linux is util-linux: <a href="https://www.kernel.org/pub/linux/utils/util-linux/" rel="nofollow noreferrer">https://www.kernel.org/pub/linux/utils/util-linux/</a></p>
  
  <p>But there is no way to find it for mac OS X nor in a compiled package nor in brew source.</p>
  
  <p>Could anyone please point me to the right direction?</p>
  
  <p>PS: my final aim is to achieve this: <a href="https://stackoverflow.com/questions/12453196/spell-checking-a-file-using-command-line-non-interactively">Spell checking a file using command line, non-interactively</a></p>