title: TCSH alias for previous command string substitution
body: <p>I would like to create an alias that substitutes all occurrences of an old string in the previous command with a new string in TCSH. I know I can do that with <code>!!:gas/old/new</code>, but I would like it in an alias so I can use <code>sub old new</code> format on the command line. I tried several different things with character escaping and could not get even a hardcoded sub to work (eg <code>alias sub \!\!:gas/old/new</code>) it just returns <code>Modifier failed.</code> and I cannot see how to use that to debug the issue. Should it be possible or is there a reason it cannot work? Is there an alternative tool that could do the same thing? It would be a bonus if I could use it on a previous command that wasn't the most recent.</p>
  <pre><code>•   :g: global (apply once for each ‘word’)
  •   :a: all (apply as many times as possible for a ‘word’)
  •   :s: substitute
  
  </code></pre>