5 # grep message type constants and make them into a .h file
7 cat ..
/include
/minix
/callnr.h | \
10 egrep '^#define [A-Z_][A-Z0-9_]* [0-9]+' |
grep -v NCALLS
12 cat ..
/include
/minix
/com.h | \
15 egrep '^#define [A-Z_][A-Z0-9_]* \( ?([A-Z0-9_]+_BASE|KERNEL_CALL) ?\+[A-Za-z0-9_ +]+\)'
17 ) | cut
-d' ' -f2 |
sed 's/\(.*\)/IDENT(\1)/' |
sort