title: fish shell for loop oneliner
body: <p>I'm not sure how to do a for loop using fish shell. I keep having to drop out of fish to run it in bash.</p>
  
  <p>take this for example:</p>
  
  <pre><code>for i in $(cat subdomains); do curl $i | html2text &gt;&gt; websites
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>fish: $(...) is not supported. In fish, please use '(cat)'.
  for i in $(cat subdomains); do curl $i | html2text &gt;&gt; websites
           ^
  </code></pre>