1 2 3 4 5 6 7 8 9 10
#!/bin/sh cat <<EOF #ifndef ASM_OFFSETS_H #define ASM_OFFSETS_H /* Derived from $1 by make_offsets.sh */ `grep '^#define' $1` #endif /* ASM_OFFSETS_H */ EOF