#!/bin/sh find . -perm /111 -type f | sed 's#^./##' | sort > .gitignore echo "*.c" >> .gitignore