# Occurrences Counter This program counts the number of characters, digits, and vowels in a given string. ## Features - Counts total number of characters in the input string - Counts the number of digits (0-9) in the input string - Counts the number of vowels (a, e, i, o, u, case-insensitive) in the input string - Provides a simple command-line interface for input ## Dependencies - GCC compiler - Standard C library - Check unit testing framework (for running tests) - make utility - gzip (for man page compression) If GCC is unavailable, follow the instructions on how to install it here: https://gcc.gnu.org/install/ If check is unavailable, follow the instructions on how to install it here: https://libcheck.github.io/check/web/install.html ## Building and Installing for POXIS systems (not compatible with Windows, or other non-POSIX platforms) 1. Open a terminal in the project directory. 2. To install the program and man page (requires root privileges): ```bash sudo make install ``` This will install the program to `/usr/local/bin` and the man page to `/usr/local/share/man/man1`. 3. To uninstall: ```bash sudo make uninstall ``` 4. To clean the build files: ```bash make clean ``` ## Running the Program After installation, you can run the program from any directory: ```bash occurrences ``` To view the man page: ```bash man occurrences ``` ## Usage Warning: This program is only compatible with ASCII input, this doesn't include tab or new line characters 1. Run the program. 2. Enter a string when prompted. 3. The program will output the number of characters, digits, and vowels in the input string. ## Testing To run the unit tests: ```bash make test ``` This will compile and run the test suite, which checks various scenarios including but not limited to empty strings, strings with only vowels, strings with only digits, and mixed input.