From 2c26d56ff524bdd9b7bbb45d19e47e67bb2b8d30 Mon Sep 17 00:00:00 2001 From: Patrice Dumas Date: Wed, 7 Jul 2010 10:09:40 +0200 Subject: [PATCH] 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 --- sys-utils/flock.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5