"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:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest Fossies "Diffs" side-by-side code changes report for "notrail.1": 1.2.3_vs_1.2.4.

NOTRAIL

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
SEE ALSO
COPYRIGHT

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-2021 by Brian Lindholm. This program is free software; 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 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.