aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-02-05 16:50:20 +0200
committerSergey Poznyakoff <gray@gnu.org>2021-02-05 16:50:20 +0200
commitcab70cf698e16d6d7c0cdcfbdb567f25191b8810 (patch)
tree8e5a01ff36cf9c30bc2821e51d7e55398d50b366
parentddee7036518703926002a564611ffde14f64b460 (diff)
downloadxenv-cab70cf698e16d6d7c0cdcfbdb567f25191b8810.tar.gz
xenv-cab70cf698e16d6d7c0cdcfbdb567f25191b8810.tar.bz2
Fix typos
-rw-r--r--README2
-rw-r--r--xenv.14
-rw-r--r--xenv.l2
3 files changed, 4 insertions, 4 deletions
diff --git a/README b/README
index 356ea4e..378feff 100644
--- a/README
+++ b/README
@@ -2,7 +2,7 @@
Xenv is a text preprocessor. It reads input from files (or the
standard input, if none are supplied) and prints it on the standard
-input, replacing references to environment variables with their actual
+output, replacing references to environment variables with their actual
values.
Variables are referenced using POSIX-compatible shell syntax: $NAME,
diff --git a/xenv.1 b/xenv.1
index dc64731..472e240 100644
--- a/xenv.1
+++ b/xenv.1
@@ -24,7 +24,7 @@ xenv \- expand shell variables in input files
[\fIFILE\fR...]
.SH DESCRIPTION
Reads input from \fIFILE\fRs (or the standard input, if none are
-supplied) and prints it on the standard input, expanding references to
+supplied) and prints it on the standard output, expanding references to
environment variables with their actual values.
.SS Variable expansion
A \fIreference\fR is one of the following constructs:
@@ -133,7 +133,7 @@ $$endif
\fB$$set \fINAME\fR
Sets the variable \fINAME\fR to empty string.
.TP
-\fB$$set \fINAME\fR \fB"\fISTRING\fB"\f
+\fB$$set \fINAME\fR \fB"\fISTRING\fB"\fR
Sets the variable \fINAME\fR \fISTRING\fR. Within \fISTRING\fR,
each occurrence of a backslash followed by another character is
replaced by that character alone.
diff --git a/xenv.l b/xenv.l
index 5591b84..4554696 100644
--- a/xenv.l
+++ b/xenv.l
@@ -1,4 +1,4 @@
-/* xenv - expand environment variables in input files
+/* xenv - expand environment variables in input files -*- c -*-
Copyright (C) 2021 Sergey Poznyakoff
Xenv is free software; you can redistribute it and/or modify it

Return to:

Send suggestions and report system problems to the System administrator.