List exercises better-er

This commit is contained in:
Dan Buch 2016-04-15 11:44:36 -04:00
parent c0ad3c9aeb
commit fe3e5495fd
No known key found for this signature in database
GPG Key ID: 5F67F62FE7B7283D

View File

@ -1,5 +1,3 @@
#!/usr/bin/env bash
for f in ex*.c ; do
echo "${f/.c/}"
done
grep -lE '^int main' *.c | sed 's/\.c//'