mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-11-18 19:09:31 +00:00
ddb82cb2e0
Maybe someday I'll become adept at using cvs...
10 lines
159 B
Awk
10 lines
159 B
Awk
# include - replace #include "f" by contents of file f
|
|
|
|
/^#include/ {
|
|
gsub(/"/, "", $2)
|
|
while (getline x <$2 > 0)
|
|
print x
|
|
next
|
|
}
|
|
{ print }
|