From ca57057f598bfc7119f79f71bf38ec88244ab396 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Wed, 31 Aug 2016 00:08:49 +0000 Subject: Import am-utils 6.2, Suggested by: pfg@ Obtained from: ftp://ftp.am-utils.org/pub/am-utils/ --- m4/rmtspc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 m4/rmtspc (limited to 'm4/rmtspc') diff --git a/m4/rmtspc b/m4/rmtspc new file mode 100755 index 000000000000..431691d9e4bd --- /dev/null +++ b/m4/rmtspc @@ -0,0 +1,6 @@ +#!/bin/sh +# remove trailing spaces from C code +#set -x +for i in $*; do + sed 's/[ ]*$//g' < $i > $i.tmp_$$ && mv $i.tmp_$$ $i +done -- cgit v1.2.3