File: fix-patch-whitespace

package info (click to toggle)
xorg-server 2:1.16.4-1+deb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 41,136 kB
  • sloc: ansic: 380,814; xml: 18,225; sh: 12,858; objc: 3,497; makefile: 3,487; python: 520; yacc: 482; cpp: 479; 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