xref: /OK3568_Linux_fs/external/xserver/fix-patch-whitespace (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#!/bin/sh
2*4882a593Smuzhiyungit diff --check |
3*4882a593Smuzhiyunsed -n 's!^\([^:]*\):\([^:]*\):.*!sed -i "\2 s/[ \t]*$//; \2 s/ *\t/\t/g" \1!p' |
4*4882a593Smuzhiyunsh
5