diff options
Diffstat (limited to 'convert2.awk')
| -rw-r--r-- | convert2.awk | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/convert2.awk b/convert2.awk index 9ca0dd4..b801ef1 100644 --- a/convert2.awk +++ b/convert2.awk @@ -1,6 +1,6 @@ # awk { - if (match($0, /-$/)) { + while (match($0, /-$/)) { # Drop line continuation gsub(/-$/, "") @@ -18,10 +18,7 @@ # Drop the first word, remove leading whitespace $1="" sub(/^[ \t]+/, "") - print - - next - } else { - print } + + print } |
