Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libutil pw_init(3): Use .Ev for EDITOR



details:   https://anonhg.NetBSD.org/src/rev/ea5b75090775
branches:  trunk
changeset: 372513:ea5b75090775
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sun Dec 04 11:16:39 2022 +0000

description:
pw_init(3): Use .Ev for EDITOR

diffstat:

 lib/libutil/pw_init.3 |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r bb604d84b9ce -r ea5b75090775 lib/libutil/pw_init.3
--- a/lib/libutil/pw_init.3     Sun Dec 04 09:25:04 2022 +0000
+++ b/lib/libutil/pw_init.3     Sun Dec 04 11:16:39 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pw_init.3,v 1.16 2017/07/03 21:32:51 wiz Exp $
+.\"    $NetBSD: pw_init.3,v 1.17 2022/12/04 11:16:39 uwe Exp $
 .\"
 .\" Copyright (c) 1995
 .\"    The Regents of the University of California.  All rights reserved.
@@ -78,9 +78,13 @@
 .Pp
 The
 .Fn pw_edit
-function runs an editor (named by the environment variable EDITOR, or
+function runs an editor (named by the environment variable
+.Ev EDITOR ,
+or
 .Pa /usr/bin/vi
-if EDITOR is not set) on the file
+if
+.Ev EDITOR
+is not set) on the file
 .Fa filename
 (or
 .Pa /etc/ptmp



Home | Main Index | Thread Index | Old Index