]> git.proxmox.com Git - rustc.git/blame - src/llvm/utils/lint/remove_trailing_whitespace.sh
Imported Upstream version 1.0.0+dfsg1
[rustc.git] / src / llvm / utils / lint / remove_trailing_whitespace.sh
CommitLineData
223e47cc
LB
1#!/bin/sh
2# Deletes trailing whitespace in-place in the passed-in files.
3# Sample syntax:
4# $0 *.cpp
5
6perl -pi -e 's/\s+$/\n/' $*