mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-08-28 17:29:32 +00:00
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 }
|