Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-04-11 19:11:13 -0700 (Tue, 11 Apr 2006)
Revision: 9061
Log message:

      Addressed bug #573 in part.
      
      The current policy is as follows.  If the command string begins with \,
      or is quoted with explicit '...' or "...", then alias-expansion does not
      occur.  Builtin quotes $'...' are not considered.
      
         Shell. +=
             foo(argv) =
                 echo Foo
         
         osh>foo
         Foo
         osh>\foo
         foo: command not found
         osh>"foo"
         foo: command not found
         osh>FOO = $'foo'
         osh>$(FOO)
         Foo
         osh>MOO = $'"foo"'
         osh>$(MOO)
         foo: command not found
      
      One can argue that this is reasonably easy to understand.
      
      The implementation of Aleksey's alternate theme (where $'foo' is not
      alias-expanded, but 'foo' is) is hard.  This is because the following
      two values are indistinguishable to omake.
      
         foo == $'foo'
      

Changes  Path
+1 -4 omake-branches/0.9.8.x/lib/build/LaTeX.om
+7 -6 omake-branches/0.9.8.x/src/build/omake_rule.ml
+5 -4 omake-branches/0.9.8.x/src/env/omake_command_digest.ml
+4 -2 omake-branches/0.9.8.x/src/ir/omake_shell_type.ml
+2 -0 omake-branches/0.9.8.x/src/shell/omake_shell_job.ml
+12 -1 omake-branches/0.9.8.x/src/shell/omake_shell_lex.ml
+4 -0 omake-branches/0.9.8.x/src/shell/omake_shell_lex.mli
+10 -34 omake-branches/0.9.8.x/src/shell/omake_shell_parse.mly