Module Name: src Committed By: uwe Date: Sun Dec 4 11:16:39 UTC 2022
Modified Files: src/lib/libutil: pw_init.3 Log Message: pw_init(3): Use .Ev for EDITOR To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libutil/pw_init.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libutil/pw_init.3 diff -u src/lib/libutil/pw_init.3:1.16 src/lib/libutil/pw_init.3:1.17 --- src/lib/libutil/pw_init.3:1.16 Mon Jul 3 21:32:51 2017 +++ src/lib/libutil/pw_init.3 Sun Dec 4 11:16:39 2022 @@ -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 @@ disabling most signals. .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