Implement a program called fnmatch that takes as input a key and a CSV file sorted by the first column, and outputs the lines with a first column matching the key.
Compile: gcc fnmatch.c -o fnmatch
Example usage: ./fnmatch --key test input.csv > output.csv