I use Linux. So, will the file extension be a factor here? I have few more questions:
How do we take arguments? How do we read stdin? How do we write to stdout? How do we pipe? How do we use Linux commands like pwd / ls / cd / sed / grep etc inside the script? Will '#!/usr/bin/env nim' take care of the compilation of the script?