aboutsummaryrefslogtreecommitdiff
path: root/convert2.awk
diff options
context:
space:
mode:
Diffstat (limited to 'convert2.awk')
-rw-r--r--convert2.awk24
1 files changed, 0 insertions, 24 deletions
diff --git a/convert2.awk b/convert2.awk
deleted file mode 100644
index a4c5a24..0000000
--- a/convert2.awk
+++ /dev/null
@@ -1,24 +0,0 @@
-# awk
-{
- while (match($0, /-$/)) {
- # Drop line continuation
- gsub(/-$/, "")
-
- # Print the line, without newline
- printf "%s", $0
-
- # Get the next line, skipping blank lines
- do {
- getline
- } while($0=="");
-
- # Print the first word
- printf "%s\n", $1
-
- # Drop the first word, remove leading whitespace
- $1=""
- sub(/^[ \t]+/, "")
- }
-
- print
-}