Marc Hohl wrote:
> I found something useful here:
> http://code.google.com/p/pymc/issues/detail?id=230
>
> The program is simple but seems to work:
Why not use a sed one-liner?
sed -i 's/[ \t]*$//' filename
*****
$ echo -e "Trailing spaces: \nTrailing tabs:\t\t" > ws-test
$ cat -A ws-test
Trailing spaces: $
Trailing tabs:^I^I$
$ sed -i 's/[ \t]*$//' ws-test
$ cat -A ws-test
Trailing spaces:$
Trailing tabs:$
*****
- Mark
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel