File: fix-patch-whitespace

package info (click to toggle)
xorg-server 2:1.12.4-6+deb7u6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 40,476 kB
  • sloc: ansic: 371,561; xml: 17,992; sh: 12,692; objc: 3,412; makefile: 3,349; yacc: 487; cpp: 477; python: 317; lex: 281; asm: 214; awk: 52; perl: 5
file content (4 lines) | stat: -rw-r--r-- 114 bytes parent folder | download | duplicates (5)
1
2
3
4
#!/bin/sh
git diff --check |
sed -n 's!^\([^:]*\):\([^:]*\):.*!sed -i "\2 s/[ \t]*$//; \2 s/ *\t/\t/g" \1!p' |
sh