Module Name: src Committed By: rillig Date: Sat Jun 8 20:47:00 UTC 2024
Modified Files: src/usr.bin/xlint/lint1: makeman Log Message: lint.7: abbreviate %lld to %d in the list of messages To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.bin/xlint/lint1/makeman Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/xlint/lint1/makeman diff -u src/usr.bin/xlint/lint1/makeman:1.10 src/usr.bin/xlint/lint1/makeman:1.11 --- src/usr.bin/xlint/lint1/makeman:1.10 Sat May 11 15:53:38 2024 +++ src/usr.bin/xlint/lint1/makeman Sat Jun 8 20:47:00 2024 @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: makeman,v 1.10 2024/05/11 15:53:38 rillig Exp $ +# $NetBSD: makeman,v 1.11 2024/06/08 20:47:00 rillig Exp $ # # Copyright (c) 2000 The NetBSD Foundation, Inc. # All rights reserved. @@ -38,7 +38,7 @@ list_messages() { -e 's|^'"$tab"'"",.*// '"$2"'[0-9]+$|---'"$tab"'(no longer used)|p' \ "$1" \ | ${SED} -E \ - -e 's,%ld|%jd,%d,g' \ + -e 's,%ld|%lld|%jd,%d,g' \ -e 's,%lu|%llu|%ju,%u,g' \ -e 's,%Lg,%g,g' \ -e 's|%.\*s|%s|g' \ @@ -49,7 +49,7 @@ list_messages() { } # shellcheck disable=SC2016 -cvsid='$NetBSD: makeman,v 1.10 2024/05/11 15:53:38 rillig Exp $' +cvsid='$NetBSD: makeman,v 1.11 2024/06/08 20:47:00 rillig Exp $' date="$1" year="${date##* }" messages="$(list_messages "$2" "")"