about summary refs log tree commit diff
path: root/README
blob: edb4f45b0d1fc66c1700a63f34a05808e28b44ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
RNL(1)                      General Commands Manual                     RNL(1)

NAME
     rnl – remove trailing newlines

SYNOPSIS
     rnl [-01sz] [files ...]

DESCRIPTION
     rnl removes trailing newlines from the specified input files.  The files
     are modified in-place!

     When used without arguments, rnl copies standard input to standard
     output, removing trailing newlines.

     The options are as follows:

     -0      Remove all trailing newlines.

     -1      Remove just one trailing newline.

     -s      Strip all but one newline at the end.  (This is the default.)

     -z      Remove final NUL bytes instead of newlines.

EXIT STATUS
     The rnl utility exits 0 on success, and >0 if an error occurs.

SEE ALSO
     tr(1)

AUTHORS
     Leah Neukirchen <leah@vuxu.org>

LICENSE
     rnl is in the public domain.

     To the extent possible under law, the creator of this work has waived all
     copyright and related or neighboring rights to this work.

           http://creativecommons.org/publicdomain/zero/1.0/

Void Linux                     December 13, 2017                    Void Linux