mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
Correct man page dates
Various changes (many by me) have been made to the man pages without bumping their dates. I have now corrected them based on the last commit to each file. I also added the script I used to make these changes. Reviewed-by: Olaf Faaland <faaland1@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Laager <rlaager@wiktel.com> Closes #8710
This commit is contained in:
parent
a20f43b51b
commit
e7ce9759ac
@ -15,7 +15,7 @@
|
|||||||
.\" Copyright (c) 2017 Lawrence Livermore National Security, LLC.
|
.\" Copyright (c) 2017 Lawrence Livermore National Security, LLC.
|
||||||
.\" Copyright (c) 2017 Intel Corporation.
|
.\" Copyright (c) 2017 Intel Corporation.
|
||||||
.\"
|
.\"
|
||||||
.Dd April 14, 2017
|
.Dd April 14, 2019
|
||||||
.Dt ZDB 8 SMM
|
.Dt ZDB 8 SMM
|
||||||
.Os Linux
|
.Os Linux
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 2016, 2019 by Delphix. All Rights Reserved.
|
.\" Copyright (c) 2016, 2019 by Delphix. All Rights Reserved.
|
||||||
.\"
|
.\"
|
||||||
.Dd January 21, 2016
|
.Dd February 26, 2019
|
||||||
.Dt ZFS-PROGRAM 8
|
.Dt ZFS-PROGRAM 8
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
.\" Copyright 2018 Nexenta Systems, Inc.
|
.\" Copyright 2018 Nexenta Systems, Inc.
|
||||||
.\" Copyright 2018 Joyent, Inc.
|
.\" Copyright 2018 Joyent, Inc.
|
||||||
.\"
|
.\"
|
||||||
.Dd February 26, 2019
|
.Dd April 30, 2019
|
||||||
.Dt ZFS 8 SMM
|
.Dt ZFS 8 SMM
|
||||||
.Os Linux
|
.Os Linux
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 2017 by Lawrence Livermore National Security, LLC.
|
.\" Copyright (c) 2017 by Lawrence Livermore National Security, LLC.
|
||||||
.\"
|
.\"
|
||||||
.Dd July 24, 2017
|
.Dd September 16, 2017
|
||||||
.Dt ZGENHOSTID 8 SMM
|
.Dt ZGENHOSTID 8 SMM
|
||||||
.Os Linux
|
.Os Linux
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
.\" Copyright 2017 Nexenta Systems, Inc.
|
.\" Copyright 2017 Nexenta Systems, Inc.
|
||||||
.\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
|
.\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
|
||||||
.\"
|
.\"
|
||||||
.Dd November 29, 2018
|
.Dd May 2, 2019
|
||||||
.Dt ZPOOL 8 SMM
|
.Dt ZPOOL 8 SMM
|
||||||
.Os Linux
|
.Os Linux
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -15,6 +15,7 @@ EXTRA_DIST = \
|
|||||||
enum-extract.pl \
|
enum-extract.pl \
|
||||||
kmodtool \
|
kmodtool \
|
||||||
make_gitrev.sh \
|
make_gitrev.sh \
|
||||||
|
man-dates.sh \
|
||||||
paxcheck.sh \
|
paxcheck.sh \
|
||||||
zfs2zol-patch.sed \
|
zfs2zol-patch.sed \
|
||||||
cstyle.pl
|
cstyle.pl
|
||||||
|
12
scripts/man-dates.sh
Executable file
12
scripts/man-dates.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# This script updates the date lines in the man pages to the date of the last
|
||||||
|
# commit to that file.
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
find man -type f | while read -r i ; do
|
||||||
|
git_date=$(git log -1 --date=short --format="%ad" -- "$i")
|
||||||
|
[ "x$git_date" = "x" ] && continue
|
||||||
|
sed -i "s|^\.Dd.*|.Dd $(date -d "$git_date" "+%B %-d, %Y")|" "$i"
|
||||||
|
done
|
Loading…
Reference in New Issue
Block a user