=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sed/sed.1,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- src/usr.bin/sed/sed.1 2015/11/04 21:28:27 1.47 +++ src/usr.bin/sed/sed.1 2016/03/17 05:27:10 1.48 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sed.1,v 1.47 2015/11/04 21:28:27 tedu Exp $ +.\" $OpenBSD: sed.1,v 1.48 2016/03/17 05:27:10 bentley Exp $ .\" .\" Copyright (c) 1992, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" from: @(#)sed.1 8.2 (Berkeley) 12/30/93 .\" -.Dd $Mdocdate: November 4 2015 $ +.Dd $Mdocdate: March 17 2016 $ .Dt SED 1 .Os .Sh NAME @@ -511,6 +511,17 @@ This is the same as specifying the .Fl n option on the command line. +.El +.Sh ENVIRONMENT +.Bl -tag -width COLUMNS +.It Ev COLUMNS +If set to a positive integer, +output from the +.Ic l +function is formatted to the given width in columns. +Otherwise, +.Nm +defaults to the terminal with, or 80 columns if the output is not a terminal. .El .Sh EXIT STATUS .Ex -std sed