Get Next Line is the second C project in the École 42 curriculum. It can read files and get a single line on each call of the get_next_line()
function. The program reads from multiple files without losing track of what was already read. So each call starts from the next line.
To use and test it, you just have to clone the repository and then compile get_next_line.c together with get_next_line_utils.c and main.c, and then execute the binary giving as many files as you want as arguments, like so:
Here is a fun, althought not practical, example of the GNL being used. In this case it is simply passing line by line from the banner.txt file to the int main function where the program prints them, line by line, on the terminal standard output:
Those text files with ascii characters forming cool images are called ascii art by the way
They can be automatically generated on this website: https://www.ascii-art-generator.org/