0
0
Files

10 lines
176 B
Bash
Raw Permalink Normal View History

2021-08-21 19:03:19 +02:00
#!/bin/sh
txt=$(basename $0 .sh)".txt"
set -e
rm -f a.out
cc -Wall -Wextra -Werror -o a.out -L../ft -lft *.c
cat ${txt} | while read nbr; do
./a.out "${nbr}"
done
rm -f a.out