aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 13:32:05 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 13:32:05 +0100
commit2029f7c60166174d8eebc4f5e596728a0d202665 (patch)
tree236f760036938bba852768aab5eab320d8b92038
parentUpdate e-mail (diff)
downloadeditasroot-master.tar.gz
editasroot-master.tar.bz2
editasroot-master.tar.xz
m fixesHEADmaster
Signed-off-by: Mattias Andrée <m@maandree.se>
-rw-r--r--README2
-rw-r--r--config.mk4
-rw-r--r--editasroot.814
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.