diff options
author | Slatian <baschdel@disroot.org> | 2024-02-03 17:06:51 +0100 |
---|---|---|
committer | Slatian <baschdel@disroot.org> | 2024-02-03 17:06:51 +0100 |
commit | a137f2ba87620402aca21b14fb1d79517782dd29 (patch) | |
tree | 276b6a4f7b8aebacf22bfcdf70e3fb91548bd0c3 | |
parent | 403a720ad18920030418a7c3d1f2caba9ce3892d (diff) |
Adapt the script the places the _MANUALPAGE and _USAGE sections to handle the new quotes
-rw-r--r-- | scripts/generate-help-script.awk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/generate-help-script.awk b/scripts/generate-help-script.awk index d4bf76e..c36c1db 100644 --- a/scripts/generate-help-script.awk +++ b/scripts/generate-help-script.awk @@ -47,8 +47,8 @@ # Insert the examples text from the .txt file -# after the "cat << _MANUALPAGE" line -/^cat << _MANUALPAGE/ { +# after the "cat << '_MANUALPAGE'" line +/^cat << '_MANUALPAGE'/ { # determine the name of the .txt file txtfile = FILENAME sub(/\.in$/, ".txt", txtfile) @@ -71,8 +71,8 @@ # Insert the usage text from the .txt file -# after the "cat << _USAGE" line -/^cat << _USAGE/ { +# after the "cat << '_USAGE'" line +/^cat << '_USAGE'/ { # determine the name of the .txt file txtfile = FILENAME sub(/\.in$/, ".txt", txtfile) |