mirror of
https://github.com/ThomasDickey/mawk-snapshots.git
synced 2026-01-29 20:34:30 +00:00
12 lines
299 B
Awk
12 lines
299 B
Awk
# Ben Myers <0003571400@mcimail.com>
|
|
|
|
/^#include/ {
|
|
# got #include, see if it has at least one quote. We don't want #include <>
|
|
z = gsub(/"/, "", $2)
|
|
while ((z > 0) && (getline x <$2 > 0))
|
|
# while (getline x <$2 > 0)
|
|
print x
|
|
next
|
|
}
|
|
{ print }
|