summaryrefslogtreecommitdiffstats
path: root/usr.bin/sed/sed.1
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-06-04 10:01:06 +0000
committertjr <tjr@FreeBSD.org>2002-06-04 10:01:06 +0000
commit096096d1a246973e0851929d3dc0dc8eb191299d (patch)
tree635ac2c5193181c3442ac49b5bcc7efe855221ac /usr.bin/sed/sed.1
parent86435d3331f2d371b65a2d4ec20de82641760f41 (diff)
downloadFreeBSD-src-096096d1a246973e0851929d3dc0dc8eb191299d.zip
FreeBSD-src-096096d1a246973e0851929d3dc0dc8eb191299d.tar.gz
Document the fact that the `l' command uses the COLUMNS environment
variable (SUSv3)
Diffstat (limited to 'usr.bin/sed/sed.1')
-rw-r--r--usr.bin/sed/sed.113
1 files changed, 13 insertions, 0 deletions
diff --git a/usr.bin/sed/sed.1 b/usr.bin/sed/sed.1
index e724e11..55eb36a 100644
--- a/usr.bin/sed/sed.1
+++ b/usr.bin/sed/sed.1
@@ -505,6 +505,19 @@ This is the same as specifying the
.Fl n
option on the command line.
.El
+.Sh ENVIRONMENT
+The following environment variables affect the execution of
+.Nm :
+.Bl -tag -width ".Ev COLUMNS"
+.It Ev COLUMNS
+If set, specifies the user's preferred output width in column positions.
+The
+.Dq l
+command uses this value to fold long lines to an appropriate width.
+By default,
+.Nm
+attempts to automatically determine the terminal width.
+.El
.Sh DIAGNOSTICS
.Ex -std
.Sh SEE ALSO
OpenPOWER on IntegriCloud