Hey there, line lovers! Get Next Line (GNL) is your ticket to reading lines one at a time from files or standard input. We’re here to make file reading in C not just efficient, but downright enjoyable!
- Line by Line: Ever dreamed of reading lines from a file? We got you covered!
- Multi-Line Madness: Handling multiple files simultaneously like a boss.
- Buffer Buffet: Smoothing the way we handle those buffers for an epic reading experience.
To compile the GNL project, simply use the provided Makefile. Here are some commands:
- Compilation: Use
make
to compile the program. - Running: Run the compiled program using
./gnl test_file.txt
. - Cleaning: To clean up the compiled files, use
make clean
. - Full Clean: For a complete clean, removing binaries and object files, use
make fclean
. - Recompilation: If you want to recompile everything, use
make re
.
Feel free to explore the Makefile for more commands and customizations!
- Clone the magic:
git clone git@github.com:gapima/get_next_line.git