remarkable-linux/scripts
H. Peter Anvin 6e019b001d cleanpatch: a script to clean up stealth whitespace added by a patch
This script is a companion to the "cleanfile" script.  This cleans
up a patch in unified diff format *before* it is applied.  Note that
the empty lines at the end of file detection *requires* that the diff was
taken with at least one line of context around each hunk, or bad things
will happen.

This script cleans up various classes of stealth whitespace.  In
particular, it cleans up:

- Whitespace (spaces or tabs)before newline;
- DOS line endings (CR before LF);
- Space before tab (spaces are deleted or converted to tabs);
- Empty lines at end of file.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2007-05-02 20:58:08 +02:00
..
basic [PATCH] kbuild: fix dependency generation 2007-04-01 14:23:57 -07:00
genksyms
kconfig [PATCH] qconf: hide empty list items 2007-02-14 08:09:52 -08:00
ksymoops
mod kbuild: remove dependency on input.h from file2alias 2007-05-02 20:58:08 +02:00
package
rt-tester
.gitignore
bin2c.c
binoffset.c
bloat-o-meter
checkincludes.pl
checkstack.pl
checkversion.pl
cleanfile cleanfile: a script to clean up stealth whitespace 2007-05-02 20:58:08 +02:00
cleanpatch cleanpatch: a script to clean up stealth whitespace added by a patch 2007-05-02 20:58:08 +02:00
conmakehash.c
export_report.pl
extract-ikconfig
gcc-version.sh
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh [PATCH] kbuild scripts: replace gawk, head, bc with shell, update 2007-02-06 14:30:49 -08:00
hdrcheck.sh
kallsyms.c [PATCH] move kallsyms data to .rodata 2006-12-08 08:28:37 -08:00
Kbuild.include [PATCH] kbuild: more Makefile cleanups 2007-02-09 10:12:20 -08:00
kernel-doc [PATCH] kernel-doc: allow space after __attribute__ 2007-03-01 14:53:36 -08:00
Lindent
Makefile
Makefile.build
Makefile.clean
Makefile.headersinst [PATCH] translate dashes in filenames for headers install 2007-01-30 16:01:35 -08:00
Makefile.host
Makefile.lib
Makefile.modinst
Makefile.modpost kbuild: fix section mismatch check for vmlinux 2007-05-02 20:58:07 +02:00
makelst [PATCH] kbuild scripts: replace gawk, head, bc with shell, update 2007-02-06 14:30:49 -08:00
mkcompile_h [PATCH] Make mkcompile_h use LANG=C and LC_ALL=C for $CC -v 2007-02-14 08:09:51 -08:00
mkmakefile
mksysmap
mkuboot.sh [PATCH] search a little harder for mkimage 2007-02-14 08:09:51 -08:00
mkversion
namespace.pl
patch-kernel
pnmtologo.c
profile2linkerlist.pl
setlocalversion
show_delta
unifdef.c
ver_linux [PATCH] ver_linux additions 2006-12-07 08:39:38 -08:00