CS2040C PE S1 AY20/21

Bash

Compiler settings

We use bash 5.2.21(1)-release to compile your program with the following command:

$ bash -n {files}

  • {files} is a space-separated list of all files.

Runtime settings

We use bash 5.2.21(1)-release to run your program with the following command:

$ bash '{mainfile}'

  • {mainfile} is the entrypoint file (you can specify which file this is when submitting).

File Extensions

Files with any of the following file extensions will be used: .sh

Additional information

Additional language-specific advice and information for many languages is available in the knowledge base