#!/bin/bash set -xe gcc -g -ansi -Wall -Wextra -Wpedantic -o xd xd.c clang -g -ansi -Weverything -o xd xd.c valgrind --show-leak-kinds=all --leak-check=full --log-file=log.txt ./xd exit