summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/adoc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/adoc b/src/adoc
index b52dd60..bb47807 100755
--- a/src/adoc
+++ b/src/adoc
@@ -43,7 +43,7 @@ plaintext_links() {
file = BASE "." count++ ".txt"
print "[role=plaintext]"
print "link:" file "[plaintext]"
- }' "$1"
+ }'
}
runtidy() {
@@ -64,4 +64,7 @@ indent_4_blocks() {
tail -n +5
}
-plaintext_links "$FILENAME" | asciidoctor -s - | indent_4_blocks
+cat "$FILENAME" |
+ plaintext_links |
+ asciidoctor -s - |
+ indent_4_blocks