diff options
author | Martijn van Duren <martijn@cvs.openbsd.org> | 2017-12-08 18:42:00 +0000 |
---|---|---|
committer | Martijn van Duren <martijn@cvs.openbsd.org> | 2017-12-08 18:42:00 +0000 |
commit | 979e8005668683554b987d772216f59381a6bb19 (patch) | |
tree | f10b61505f6218d22a50ad63a1de615d0e79b087 /usr.bin/sed/sed.1 | |
parent | a7d48a3649b8b1ad6eb592be08777cbc2d003cfb (diff) |
Make the r command filename obligatory, similar to what FreeBSD and NetBSD
do for several years.
While here make corresponding error message for missing read and write file
consistent between commands/flag, and shrink the the code of the w flag of
the s command by making it use the same code as the w command.
Prompted by a larger diff by kshe59 <at> zoho <dot> eu
OK millert@
Diffstat (limited to 'usr.bin/sed/sed.1')
-rw-r--r-- | usr.bin/sed/sed.1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/sed/sed.1 b/usr.bin/sed/sed.1 index aa765281bba..5e91484f217 100644 --- a/usr.bin/sed/sed.1 +++ b/usr.bin/sed/sed.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sed.1,v 1.51 2017/12/07 09:52:26 martijn Exp $ +.\" $OpenBSD: sed.1,v 1.52 2017/12/08 18:41:59 martijn 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: December 7 2017 $ +.Dd $Mdocdate: December 8 2017 $ .Dt SED 1 .Os .Sh NAME @@ -255,7 +255,7 @@ as well as the flag to the .Ic s function, -take an optional +take a .Ar file parameter, which should be separated from the function or flag by whitespace. |