Skip to content
Snippets Groups Projects
Select Git revision
20 results

dynare.m

Blame
  • Forked from Dynare / dynare
    Source project has a limited visibility.
    • Sébastien Villemot's avatar
      f9e67a32
      Further improvements to parsing of arguments on the MATLAB command-line · f9e67a32
      Sébastien Villemot authored
      Under GNU/Linux and macOS, double-quote arguments before passing them to the
      shell. In particular, this allows passing single-quotes within those arguments.
      
      We therefore have to escape the four characters that are interpreted within
      double-quoted strings in POSIX shells: \, ", $ and `
      
      On Windows, also systematically escape the backslashes.
      
      Also move display of arguments before escaping, so that it remains readable.
      
      Ref. #1696
      
      (cherry picked from commit ae59f4dc)
      f9e67a32
      History
      Further improvements to parsing of arguments on the MATLAB command-line
      Sébastien Villemot authored
      Under GNU/Linux and macOS, double-quote arguments before passing them to the
      shell. In particular, this allows passing single-quotes within those arguments.
      
      We therefore have to escape the four characters that are interpreted within
      double-quoted strings in POSIX shells: \, ", $ and `
      
      On Windows, also systematically escape the backslashes.
      
      Also move display of arguments before escaping, so that it remains readable.
      
      Ref. #1696
      
      (cherry picked from commit ae59f4dc)