title: How to change string between 2 string in csh?
body: <p>I have input file as below and I wish to substitute string between <code>set xx { \</code> &amp; <code>}</code> as showed in output. How to code in csh?</p>
  
  <p>Input:</p>
  
  <pre><code>set a 1
  set b 2
  set xx { \
  a/c/d \
  apple/d/e/g \
  guava/s/s/g/b/c \
  }
  set c 3
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>set a 1
  set b 2
  set xx { \
  a/*c*/d* \
  apple/d/*e*/g* \
  guava/s/s/g/*b*/c* \
  }
  set c 3
  </code></pre>