1 2 3 4
#!/bin/sh -e cpp -dM -include errno.h - </dev/null | \ awk '/^#define[ \t]+E[^ _]+[ \t]+/ { print $2; }'