Skip to content

Commit

Permalink
uidgid2wiki.awk: Suppress trailing whitespace in last column.
Browse files Browse the repository at this point in the history
Signed-off-by: Ulrich Müller <[email protected]>
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
ulm authored and mgorny committed Dec 8, 2019
1 parent 44e0881 commit 444c52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/uidgid2wiki.awk
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 444c52b

Please sign in to comment.