diff options
Diffstat (limited to 'combine.ed')
-rw-r--r-- | combine.ed | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/combine.ed b/combine.ed new file mode 100644 index 0000000..a3d519b --- /dev/null +++ b/combine.ed | |||
@@ -0,0 +1,12 @@ | |||
1 | /stawk() | ||
2 | +c | ||
3 | subtext="$(cat<<'__END_SUBTEXT__' | ||
4 | . | ||
5 | .r subtext.awk | ||
6 | a | ||
7 | __END_SUBTEXT__ | ||
8 | )" | ||
9 | awk "$subtext" "$@" | ||
10 | . | ||
11 | w /dev/stdout | ||
12 | q \ No newline at end of file | ||