[TxMt] Run Command question

Allan Odgaard allan at macromates.com
Tue Dec 14 03:21:45 UTC 2004

On Dec 13, 2004, at 18:31, Ian White wrote:

> Sorry, didn't realise the message was not in its own thread - started 
> again here.

Replying to the new thread, although it's for the OP :)

> On 13 Dec 2004, at 17:24, David Wooten wrote:
>> [...] Now the closest I've come is to "echo" the comma and send the 
>> results to the current window, but of course this also gives me the 
>> output from the command which I wish to be discarded.

You can silence a command by redirecting it's output to /dev/null. So 
e.g. the command could be:
    cat >/dev/null somefile
    echo ,

And it should only output “,”.

More information about the textmate mailing list