Lines Matching refs:file
54 for file in "$@"; do
55 test -d $file && continue # skip directories, just in case
56 file=$(echo $file | sed 's,^\.\/,,')
57 case $file in
75 trim_trailing_whitespace $file
76 insert_final_newline $file
77 trim_trailing_blank_lines $file
79 if ! check_trailing_whitespace $file; then
81 echo "trailing whitespace: $file" >&2
83 if ! check_final_newline $file; then
85 echo "final newline missing: $file" >&2
87 if ! check_trailing_blank_lines $file; then
89 echo "trailing blank lines: $file" >&2
91 if ! check_utf_8_charset $file; then