From: Patrice Dumas Date: Wed, 7 Jul 2010 08:09:40 +0000 (+0200) Subject: flock: fix file number in flock.1 man page X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c26d56ff524bdd9b7bbb45d19e47e67bb2b8d30;p=util-linux flock: fix file number in flock.1 man page According to a search on the internet, the 200 file number is not a posix shell feature, since posix shells are only mandated to have 1 through 9. I haven't verified that this claim is right, but, at least dash doesn't like the 200. So here is a patch for the flock man page that replaces 200 with 9. Signed-off-by: Patrice Dumas Signed-off-by: Karel Zak --- diff --git a/sys-utils/flock.1 b/sys-utils/flock.1 index 6d60ff71..6ae584bd 100644 --- a/sys-utils/flock.1 +++ b/sys-utils/flock.1 @@ -51,11 +51,11 @@ used the following manner: .PP \fC( .br - flock -s 200 + flock -s 9 .br # ... commands executed under lock ... .br -) 200>/var/lock/mylockfile\fP +) 9>/var/lock/mylockfile\fP .PP The mode used to open the file doesn't matter to \fBflock\fP; using \fC>\fP or \fP>>\fP allows the lockfile to be created if it does not