xca/misc/delspace.sh
2006-05-21 09:58:36 +02:00

8 lines
107 B
Bash
Executable File

#!/bin/sh
for i in $@; do
cp "$i" /tmp/x
cat /tmp/x |sed 's/[ \t]*$//' |sed 's/ *\t/\t/' > "$i"
done