manpagez: man pages & more
man notrail(1)
Home | html | info | man
notrail(1)                                                          notrail(1)




NAME

       notrail - remove all trailing spaces characters from text files


SYNOPSIS

       notrail [-h(elp)] [-q(uiet)] [-v(erbose)] file...


DESCRIPTION

       notrail  removes  all trailing space characters from text files using a
       combination of the sed and tempname utilities.


OPTIONS

       -h     Print help and quit.

       -h     Quiet output.  No output commentary will be printed.

       -v     Verbose  output.   Commentary  about  unchanged  files  will  be
              printed  in  addition  to  the  normal  commentary about changed
              files.


EXAMPLES

       Remove trailing spaces from a couple of files:
              notrail file01.txt file02.txt

       Remove trailing spaces from a large block of source code:
              find . -name "*.c" -print0 | xargs -0 notrail
              find . -name "*.h" -print0 | xargs -0 notrail


SEE ALSO

       sed(1), tempname(1)


COPYRIGHT

       Copyright (C) 2004-2020 by Brian Lindholm.  This program is free  soft-
       ware; you can use it, redistribute it, and/or modify it under the terms
       of the GNU General Public License as published  by  the  Free  Software
       Foundation; either version 3, or (at your option) any later version.

       This  program  is  distributed  in the hope that it will be useful, but
       WITHOUT ANY  WARRANTY;  without  even  the  implied  warranty  of  MER-
       CHANTABILITY  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
       Public License for more details.



littleutils                       2020 Oct 19                       notrail(1)

littleutils 1.2.3 - Generated Tue Dec 1 08:34:32 CST 2020
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.