From 2029f7c60166174d8eebc4f5e596728a0d202665 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 22 Feb 2026 13:32:05 +0100 Subject: m fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 2 +- config.mk | 4 ++-- editasroot.8 | 14 +++++++------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README b/README index fa9d2ff..3015b24 100644 --- a/README +++ b/README @@ -14,7 +14,7 @@ OPTIONS The editasroot utility conforms to the Base Definitions volume of POSIX.1-2017, Section 12.2, Utility Syntax Guidelines. - No option are supported. + No options are supported. OPERANDS The following operand is supported: diff --git a/config.mk b/config.mk index bcc64e8..bf6531b 100644 --- a/config.mk +++ b/config.mk @@ -2,8 +2,8 @@ PREFIX = /usr MANPREFIX = $(PREFIX)/share/man LIBEXECDIR = $(PREFIX)/libexec/editasroot -CC = cc +CC = c99 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D'LIBEXECDIR="$(LIBEXECDIR)"' -CFLAGS = -std=c99 -Wall -O2 +CFLAGS = LDFLAGS = -s diff --git a/editasroot.8 b/editasroot.8 index 5523cbc..db50301 100644 --- a/editasroot.8 +++ b/editasroot.8 @@ -1,4 +1,4 @@ -.TH EDITASROOT 8 editasroot +.TH EDITASROOT 8 EDITASROOT .SH NAME editasroot - edit a file that requires root access @@ -25,7 +25,7 @@ utility conforms to the Base Definitions volume of POSIX.1-2017, .IR "Section 12.2" , .IR "Utility Syntax Guidelines" . .PP -No option are supported. +No options are supported. .SH OPERANDS The following operand is supported: @@ -34,20 +34,20 @@ The following operand is supported: The file to edit. .SH ENVIRONMENT VARIABLES -The following environment variables affects the execution of +The following environment variables affect the execution of .BR editasroot : .TP -.SH EDITOR +.B EDITOR Filename of the editor to edit the file path if the program is started in the foreground or if .B VISUAL is unset. (Default is .BR vi ) .TP -.SH PATH -Default. See to the Base Definitions volume of POSIX.1-2017, Section 8.3, Other Environment Variables. +.B PATH +Default. See the Base Definitions volume of POSIX.1-2017, Section 8.3, Other Environment Variables. .TP -.SH VISUAL +.B VISUAL Filename of the editor to edit the file path if the program is started in the background. -- cgit v1.2.3-70-g09d2