title: sed find/replace lines with whitespaces
body: <p>I'm writing a shell script that will find and replace a line to disable password caching in nscd.  The problem is, there is a ton of white space before and inbetween the parameters and I can't seem to find a way with my limited knowledge of regex to ignore the spaces and change the no to yes.  </p>
  
  <p>Here is the line as it appears in the config file.  Just in case it doesn't show properly, there are 8 spaces before enable-cache, 12 spaces after and 10 spaces before no.</p>
  
  <pre><code>    enable-cache            passwd          no
  </code></pre>
  
  <p>I basically need to change the no to a yes for that line only.  Anyone have any thoughts?</p>
  
  <p>Thanks </p>
  
  <p>greg</p>