diff options
author | Ulrich Müller <ulm@gentoo.org> | 2019-12-08 21:55:27 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-12-08 21:59:43 +0100 |
commit | 444c52b1e90054355f4b5340aa04a9514a512bb7 (patch) | |
tree | 21b11c84212b098a219f2725835eadc415d5fee8 /bin | |
parent | uid-gid.txt: Move stunnel to 341, request oprofile (492). (diff) | |
download | api-444c52b1e90054355f4b5340aa04a9514a512bb7.tar.gz api-444c52b1e90054355f4b5340aa04a9514a512bb7.tar.bz2 api-444c52b1e90054355f4b5340aa04a9514a512bb7.zip |
uidgid2wiki.awk: Suppress trailing whitespace in last column.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/uidgid2wiki.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/uidgid2wiki.awk b/bin/uidgid2wiki.awk index 2cc9f3bb..8b91db11 100755 --- a/bin/uidgid2wiki.awk +++ b/bin/uidgid2wiki.awk @@ -53,7 +53,7 @@ function md2wiki(str) { } # notes $1=$2=$3=$4="" - print "| " md2wiki(substr($0, 5)) + print gensub(/[ \t]+$/, "", 1, "| " md2wiki(substr($0, 5))) } END { |