/usr.bin/awk/tests/ch2p60.awk
AWK | 9 lines | 7 code | 1 blank | 1 comment | 0 complexity | 1c252f857136416eb9aeaaaa9ea4cee0 MD5 | raw file
Possible License(s): AGPL-1.0
- # include - replace #include "f" by contents of file f
- /^#include/ {
- gsub(/"/, "", $2)
- while (getline x <$2 > 0)
- print x
- next
- }
- { print }