title: How to run command-line command on non-contiguous lines, specifying individual line numbers?
body: <p>For example, say I want to replace <code>foo</code> with <code>bar</code> on lines 1,3,11, and 15.  How could I do that?</p>
  
  <pre><code>:1,15s/foo/bar
  </code></pre>
  
  <p>will replace <code>foo</code> with <code>bar</code> on lines 1-15.  But I want to specify multiple individual lines (1,3,11,15), not a range (1-15).</p>