add user name printing and newline stripping

This commit is contained in:
2021-06-19 20:05:20 -04:00
parent cc74038008
commit 93ace63885
5 changed files with 39 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ CC=clang
CFLAGS=-Wall -Isrc/include -DDEBUG -g -std=c17
LDFLAGS=
FILENAME=myshellin
SRC=src/myshellin.c src/loop.c
SRC=src/myshellin.c src/loop.c src/user.c
OBJ=$(SRC:.c=.o)
all: myshellin