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/' $*
7