Skip to content
Snippets Groups Projects
  • Robert Schmidt's avatar
    606e2c74
    cls_cmd: execute commands through bash · 606e2c74
    Robert Schmidt authored
    The next commit will use "echo -e". The problem with that is that bash
    and sh differ:
    
    - in bash: this results in "a\nb" (a+newline+b)
    - in sh: this results in -e a\nb (-e a+newline+b)
    
    The problem is that by default, commands are executed through sh, which
    nobody expects. Change to bash, which is likely more aligned with what
    people want to use.
    606e2c74
    History
    cls_cmd: execute commands through bash
    Robert Schmidt authored
    The next commit will use "echo -e". The problem with that is that bash
    and sh differ:
    
    - in bash: this results in "a\nb" (a+newline+b)
    - in sh: this results in -e a\nb (-e a+newline+b)
    
    The problem is that by default, commands are executed through sh, which
    nobody expects. Change to bash, which is likely more aligned with what
    people want to use.