mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 01:13:25 +00:00
d5ece81cc7
are deleting; otherwise, everything ends up on a single line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65185 91177308-0d34-0410-b5e6-96231b3b80d8
7 lines
132 B
Bash
Executable File
7 lines
132 B
Bash
Executable File
#!/bin/sh
|
|
# Deletes trailing whitespace in-place in the passed-in files.
|
|
# Sample syntax:
|
|
# $0 *.cpp
|
|
|
|
perl -pi -e 's/\s+$/\n/' $*
|