From 5e9f8c0865f99fe4d614dc69c82eb1ca74ec363e Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 17 Dec 2017 00:45:59 +0100 Subject: rename arguments --- rnl.1 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'rnl.1') diff --git a/rnl.1 b/rnl.1 index 38c6769..07abc1c 100644 --- a/rnl.1 +++ b/rnl.1 @@ -3,37 +3,37 @@ .Os .Sh NAME .Nm rnl -.Nd remove trailing newlines +.Nd remove final newlines .Sh SYNOPSIS .Nm .Op Fl 01sz .Op Ar files\ ... .Sh DESCRIPTION .Nm -removes trailing newlines from the specified input +removes final newlines from the specified input .Ar files . The files are modified in-place! .Pp When used without arguments, .Nm copies standard input to standard output, -removing trailing newlines. +removing final newlines. .Pp The options are as follows: .Bl -tag -width Ds .It Fl 0 +Remove final NUL bytes instead of newlines. +.It Fl a Remove .Em all -trailing newlines. -.It Fl 1 -Remove just -.Em one -trailing newline. +final newlines. .It Fl s Strip all but one newline at the end. (This is the default.) -.It Fl z -Remove final NUL bytes instead of newlines. +.It Fl o +Remove just +.Em one +final newline. .El .Sh EXIT STATUS .Ex -std -- cgit 1.4.1