sync
This commit is contained in:
9
Rush_02/rush-02/ex00/compute/compute.sh
Executable file
9
Rush_02/rush-02/ex00/compute/compute.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user