Skip to content

leahneukirchen/rnl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RNL(1)                      General Commands Manual                     RNL(1)

NAME
     rnl – remove final newlines

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

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

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

     The options are as follows:

     -0      Remove final NUL bytes instead of newlines.

     -a      Remove all final newlines.

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

     -o      Remove just one final newline.

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

SEE ALSO
     tr(1)

AUTHORS
     Leah Neukirchen <[email protected]>

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.

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

Void Linux                     December 13, 2017                    Void Linux

About

remove trailing newlines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published