eel

formatter for ii(1) logs
Log | Files | Refs | README

commit 2d4886127ba82aa4e934b28098c8ddfb3dd60b48
Author: Josuah Demangeon <mail@josuah.net>
Date:   Tue,  3 Oct 2017 23:29:40 +0200

initial commit

Diffstat:
A.gitignore | 1+
AMakefile | 7+++++++
Aeel.c | 13+++++++++++++
3 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -0,0 +1 @@ +eel diff --git a/Makefile b/Makefile @@ -0,0 +1,7 @@ +CFLAGS = -g -pedantic -Wall -Wextra -std=c89 -D_POSIX_C_SOURCE=200809L + +eel: eel.c + cc ${CFLAGS} eel.c -o eel + +clean: + rm eel diff --git a/eel.c b/eel.c @@ -0,0 +1,13 @@ +#include <stdio.h> + +int +main(int argc, char *argv[]) +{ + char *line; + size_t len; + + while (getline(&line, &len, stdin) != -1) + fputs(line, stdout); + + return 0; +}