cControl is a basic script created to teach me simple control character implementation for the Bash shell, and how implementation varies in different programming languages.
- Python 3 for the Python implementation. I first wrote this using Python 3.8.6
- A C compiler such as GCC or Clang for the C implementation.
To use the Python implementation of cControl, simply call it:
$ python3 cControl.py
To use the C implementation of cControl, first compile the file cControl.c:
GCC:
$ gcc -o cControl cControl.c
Clang:
$ clang -o cControl cControl.c
Once compiled, simply call it:
$ ./cControl
These files were only written as a test, and were only designed to work on my MacOS machine (MacOS 10.14.6) for the Bash shell. I haven't tested its functionality for anything else, I imagine it should also work on Linux as well as other shells, but not Windows.