[TxMt] Re: Remove trailing spaces and tabs
bibiko at eva.mpg.de
Thu Apr 2 10:09:55 UTC 2009
On 02.04.2009, at 11:34, Mathieu Godart wrote:
> Couldn't you discard the output as what can be done for the commands?
> output = discard;
I guess the problem is the Perl stuff.
What do you see in the Bundle Editor if you select your macro in
question and click on executeCommandWithOption?
command = "perl -pe 's/[\\t ]+$//g'";
command = "perl -pe 's/[\\\\t ]+$//g'";
On the other hand you can simply write two tiny tmCommands, one for
the Perl stuff and one for saving it, and record a that macro again.
More information about the textmate