"Fossies" - the Fresh Open Source Software Archive

Member "littleutils-1.2.4/scripts/notrail.1" (28 Mar 2021, 1445 Bytes) of package /linux/privat/littleutils-1.2.4.tar.lz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 .TH NOTRAIL 1 "2021 Jan 15" littleutils
    2 .SH NAME
    3 notrail \- remove all trailing spaces characters from text files
    4 .SH SYNOPSIS
    5 \fBnotrail\fR
    6 [\fB\-h(elp)\fR]
    7 [\fB\-q(uiet)\fR]
    8 [\fB\-v(erbose)\fR]
    9 \fIfile\|.\|.\|.\fR
   10 .SH DESCRIPTION
   11 \fBnotrail\fR removes all trailing space characters from text files using a
   12 combination of the \fBsed\fR and \fBtempname\fR utilities.
   13 .SH OPTIONS
   14 .TP
   15 \fB\-h\fR
   16 Print help and quit.
   17 .TP
   18 \fB\-h\fR
   19 Quiet output.  No output commentary will be printed.
   20 .TP
   21 \fB\-v\fR
   22 Verbose output.  Commentary about unchanged files will be printed in addition
   23 to the normal commentary about changed files.
   24 .SH EXAMPLES
   25 .TP
   26 Remove trailing spaces from a couple of files:
   27 notrail file01.txt file02.txt
   28 .TP
   29 Remove trailing spaces from a large block of source code:
   30 find . -name "*.c" -print0 | xargs -0 notrail
   31 .br
   32 find . -name "*.h" -print0 | xargs -0 notrail
   33 .SH "SEE ALSO"
   34 \fBsed\fR(1), \fBtempname\fR(1)
   35 .SH COPYRIGHT
   36 Copyright (C) 2004-2021 by Brian Lindholm.  This program is free software; you
   37 can use it, redistribute it, and/or modify it under the terms of the GNU
   38 General Public License as published by the Free Software Foundation; either
   39 version 3, or (at your option) any later version.
   40 
   41 This program is distributed in the hope that it will be useful, but WITHOUT ANY
   42 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
   43 PARTICULAR PURPOSE.  See the GNU General Public License for more details.